]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2582: Hide inspection panel on module deactivation
authorvsv <vsv@opencascade.com>
Wed, 3 Oct 2018 10:20:51 +0000 (13:20 +0300)
committervsv <vsv@opencascade.com>
Wed, 3 Oct 2018 10:20:51 +0000 (13:20 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index dae608ae7a139b3db25694c4b8fdac0a7309ded9..a2b9d61ddfa8c8b2cf8cbccfa45c82aabc517f26 100644 (file)
@@ -333,6 +333,7 @@ bool SHAPERGUI::deactivateModule(SUIT_Study* theStudy)
   }
 
   myIsInspectionVisible = myInspectionPanel->isVisible();
+  myInspectionPanel->setVisible(false);
   QAction* aViewAct = myInspectionPanel->toggleViewAction();
   aViewAct->setEnabled(false);