From e9d51830d5ca449d3ad2b2f19b9f4c5bb0223c52 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 3 Oct 2018 14:33:39 +0300 Subject: [PATCH] Issue #2582: Hide inspection panel on module deactivate --- src/SHAPERGUI/SHAPERGUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +} -- 2.39.2