From 12700660e3b88abe1a971cf10e4bbf8d5ba2c637 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 15 Jun 2009 15:36:50 +0000 Subject: [PATCH] 0020384: EDF 1050 GUI : Strange behavior of dockable windows --- src/SalomeApp/SalomeApp_Application.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index fcaca8479..dddb815f4 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -1215,7 +1215,8 @@ void SalomeApp_Application::updateObjectBrowser( const bool updateModels ) if ( aComponent->ComponentDataType() == "Interface Applicative" ) continue; // skip the magic "Interface Applicative" component - getWindow( WT_ObjectBrowser ); + if ( !objectBrowser() ) + getWindow( WT_ObjectBrowser ); const bool isAutoUpdate = objectBrowser()->autoUpdate(); objectBrowser()->setAutoUpdate( false ); SalomeApp_DataModel::synchronize( aComponent, study ); -- 2.39.2