From 25d802fc0a384f81b7fda8a05d84a63453d74755 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 16 Oct 2014 18:50:39 +0400 Subject: [PATCH] Minor change: avoid bad temporary positioning of the ParaView panels at PARAVIS activation --- src/PVGUI/PVGUI_Module_widgets.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PVGUI/PVGUI_Module_widgets.cxx b/src/PVGUI/PVGUI_Module_widgets.cxx index e438a97d..e171081f 100644 --- a/src/PVGUI/PVGUI_Module_widgets.cxx +++ b/src/PVGUI/PVGUI_Module_widgets.cxx @@ -115,6 +115,7 @@ void PVGUI_Module::setupDockWidgets() pqPipelineBrowserWidget* browser = guiElements->getPipelineBrowserWidget(); pipelineBrowserDock->setWidget(browser); myDockWidgets[pipelineBrowserDock] = true; + pipelineBrowserDock->hide(); // Properties dock (previously called OBJECT_INSPECTOR) QDockWidget* propertiesDock = new QDockWidget( tr( "TTL_OBJECT_INSPECTOR" ), desk ); @@ -129,8 +130,8 @@ void PVGUI_Module::setupDockWidgets() QAction* tempDeleteAction = new QAction(this); pqDeleteReaction* handler = new pqDeleteReaction(tempDeleteAction); handler->connect(propertiesPanel, SIGNAL(deleteRequested(pqPipelineSource*)), SLOT(deleteSource(pqPipelineSource*))); - myDockWidgets[propertiesDock] = true; + propertiesDock->hide(); // Information dock QDockWidget* informationDock = new QDockWidget(tr( "TTL_INFORMATION" ), desk); -- 2.39.2