From 988b48f9b4dc4c204e6a0503ddee9039eeb0bd38 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 21 Jan 2015 14:16:03 +0300 Subject: [PATCH] 0022847: [CEA 1408] Regression : in 7.5.1rc1 switching to Paravis to some other modules keeps the Paravis toolbars visible --- src/PVGUI/PVGUI_Module.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.39.2