]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2347: Hide Faces Panel on the module deactivate
authorvsv <vsv@opencascade.com>
Thu, 7 Dec 2017 15:50:19 +0000 (18:50 +0300)
committervsv <vsv@opencascade.com>
Thu, 7 Dec 2017 15:50:19 +0000 (18:50 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index 42c1b509051cf3f21dd89169ac2eb9a8b1af11bc..19aa0fc1c49a34493c4d75877bb1fa7b60f72424 100644 (file)
@@ -30,6 +30,7 @@
 #include <XGUI_OperationMgr.h>
 #include <XGUI_Displayer.h>
 #include <XGUI_MenuMgr.h>
+#include <XGUI_FacesPanel.h>
 
 #include <ModuleBase_Operation.h>
 #include <ModuleBase_Preferences.h>
@@ -322,6 +323,7 @@ bool SHAPERGUI::deactivateModule(SUIT_Study* theStudy)
     mySelector = 0;
   }
 
+  myWorkshop->hidePanel(myWorkshop->facesPanel());
   //myWorkshop->contextMenuMgr()->disconnectViewer();
 
   SUIT_ResourceMgr* aResMgr = application()->resourceMgr();