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

index a2b9d61ddfa8c8b2cf8cbccfa45c82aabc517f26..64fb21b920cd6bc2ce62014eb03ad61712bc8006 100644 (file)
@@ -333,7 +333,7 @@ bool SHAPERGUI::deactivateModule(SUIT_Study* theStudy)
   }
 
   myIsInspectionVisible = myInspectionPanel->isVisible();
-  myInspectionPanel->setVisible(false);
+  myInspectionPanel->hide();
   QAction* aViewAct = myInspectionPanel->toggleViewAction();
   aViewAct->setEnabled(false);
 
@@ -789,4 +789,4 @@ void SHAPERGUI::updateModuleVisibilityState()
 {
   LightApp_Module::updateModuleVisibilityState();
   onWhatIs(myIsInspectionVisible);
-}
\ No newline at end of file
+}