From: vsv Date: Wed, 3 Oct 2018 10:20:51 +0000 (+0300) Subject: Issue #2582: Hide inspection panel on module deactivation X-Git-Tag: CEA_2018-2~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=31fb2362ac9d8d50d1f47ba75e9daab0c07af8af;p=modules%2Fshaper.git Issue #2582: Hide inspection panel on module deactivation --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index dae608ae7..a2b9d61dd 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -333,6 +333,7 @@ bool SHAPERGUI::deactivateModule(SUIT_Study* theStudy) } myIsInspectionVisible = myInspectionPanel->isVisible(); + myInspectionPanel->setVisible(false); QAction* aViewAct = myInspectionPanel->toggleViewAction(); aViewAct->setEnabled(false);