]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1835: abort on switch between modules.
authormzn <mzn@opencascade.com>
Fri, 16 Nov 2018 11:46:47 +0000 (14:46 +0300)
committermzn <mzn@opencascade.com>
Fri, 16 Nov 2018 11:46:47 +0000 (14:46 +0300)
src/HYDROGUI/HYDROGUI_Module.cxx

index 30c90a0c14a780be14ce145901281cc8333b1561..cca1a2ae051bf165c0c9a25f09619296e9b1693b 100755 (executable)
@@ -285,6 +285,8 @@ bool HYDROGUI_Module::deactivateModule( SUIT_Study* theStudy )
   {
     disconnect( aViewManager, SIGNAL( mouseMove( SUIT_ViewWindow*, QMouseEvent* ) ),
                 this, SLOT( onMouseMove( SUIT_ViewWindow*, QMouseEvent* ) ) );
+    disconnect( aViewManager, SIGNAL( activated( SUIT_ViewManager* ) ), 
+                this, SLOT( onViewActivated( SUIT_ViewManager* ) ) );
 
     OCCViewer_ViewManager* occ_mgr = dynamic_cast<OCCViewer_ViewManager*>( aViewManager );
     if( occ_mgr )