From 31fb2362ac9d8d50d1f47ba75e9daab0c07af8af Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 3 Oct 2018 13:20:51 +0300 Subject: [PATCH] Issue #2582: Hide inspection panel on module deactivation --- src/SHAPERGUI/SHAPERGUI.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2