From 9e156c1a718e5ce44c00c86336e9e111d69cb984 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 22 Sep 2017 10:26:41 +0300 Subject: [PATCH] refs #1324: implementation of the chained operations --- src/HYDROGUI/HYDROGUI_Module.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 4f8eeafd..535770cf 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -1478,6 +1478,9 @@ void HYDROGUI_Module::onViewManagerAdded( SUIT_ViewManager* theViewManager ) } else if( theViewManager->getType() == OCCViewer_Viewer::Type() ) { + OCCViewer_ViewManager* mgr = dynamic_cast( theViewManager ); + mgr->setChainedOperations( true );//TODO: via preferences + connect( theViewManager, SIGNAL( viewCreated( SUIT_ViewWindow* ) ), this, SLOT( onViewCreated( SUIT_ViewWindow* ) ) ); connect( theViewManager, SIGNAL( mouseMove( SUIT_ViewWindow*, QMouseEvent* ) ), -- 2.39.2