From: vsr Date: Wed, 21 Jan 2015 11:16:03 +0000 (+0300) Subject: 0022847: [CEA 1408] Regression : in 7.5.1rc1 switching to Paravis to some other modul... X-Git-Tag: V7_5_1rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=988b48f9b4dc4c204e6a0503ddee9039eeb0bd38;p=modules%2Fparavis.git 0022847: [CEA 1408] Regression : in 7.5.1rc1 switching to Paravis to some other modules keeps the Paravis toolbars visible --- diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index a2445ae9..9cc23a3a 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -367,14 +367,14 @@ void PVGUI_Module::initialize( CAM_Application* app ) LightApp_Application* anApp = getApp(); SUIT_Desktop* aDesktop = anApp->desktop(); + // Remember current state of desktop toolbars + QList foreignToolbars = aDesktop->findChildren(); + // Initialize ParaView client and associated behaviors // and connect to externally launched pvserver PVViewer_ViewManager::ParaviewInitApp(aDesktop, anApp->logWindow()); myGuiElements = PVViewer_GUIElements::GetInstance(aDesktop); - // Remember current state of desktop toolbars - QList foreignToolbars = aDesktop->findChildren(); - // [ABN]: careful with the order of the GUI element creation, the loading of the configuration // and the connection to the server. This order is very sensitive if one wants to make // sure all menus, etc ... are correctly populated.