From: vsr Date: Mon, 20 Jun 2011 15:44:08 +0000 (+0000) Subject: 0021307: EDF PARAVIS: Mismatch in buttons and windows when switching from a component... X-Git-Tag: V6_3_1rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c0dbdd911d3d58f1a7fe8d39f4d89524169dd7e;p=modules%2Fjobmanager.git 0021307: EDF PARAVIS: Mismatch in buttons and windows when switching from a component to PARAVIS and back --- diff --git a/src/genericgui/BL_GenericGui.cxx b/src/genericgui/BL_GenericGui.cxx index deba35e..3254484 100644 --- a/src/genericgui/BL_GenericGui.cxx +++ b/src/genericgui/BL_GenericGui.cxx @@ -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