From: vsv Date: Wed, 3 Oct 2018 11:33:39 +0000 (+0300) Subject: Issue #2582: Hide inspection panel on module deactivate X-Git-Tag: CEA_2018-2~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9d51830d5ca449d3ad2b2f19b9f4c5bb0223c52;p=modules%2Fshaper.git Issue #2582: Hide inspection panel on module deactivate --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index a2b9d61dd..64fb21b92 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -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 +}