]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
0021307: EDF PARAVIS: Mismatch in buttons and windows when switching from a component...
authorvsr <vsr@opencascade.com>
Mon, 20 Jun 2011 15:44:08 +0000 (15:44 +0000)
committervsr <vsr@opencascade.com>
Mon, 20 Jun 2011 15:44:08 +0000 (15:44 +0000)
src/genericgui/BL_GenericGui.cxx

index deba35e25313a219094efbccba8e028628299c7d..3254484edf01f47549ed697a1beade8921a8754a 100644 (file)
@@ -161,9 +161,18 @@ void
 BL::GenericGui::showDockWidgets(bool isVisible)
 {
   DEBTRACE("BL::GenericGui::showDockWidgets " << isVisible);
-  if (_jobs_manager) _jobs_manager->setVisible(isVisible);
-  if (_dw_summary) _dw_summary->setVisible(isVisible);
-  if (_dw_resource_catalog) _dw_resource_catalog->setVisible(isVisible);
+  if (_jobs_manager) {
+    _jobs_manager->setVisible(isVisible);
+    _jobs_manager->toggleViewAction()->setVisible(isVisible);
+  }
+  if (_dw_summary) {
+    _dw_summary->setVisible(isVisible);
+    _dw_summary->toggleViewAction()->setVisible(isVisible);
+  }
+  if (_dw_resource_catalog) {
+    _dw_resource_catalog->setVisible(isVisible);
+    _dw_resource_catalog->toggleViewAction()->setVisible(isVisible);
+  }    
 }
 
 void