From: vsr Date: Mon, 15 Jun 2009 15:36:50 +0000 (+0000) Subject: 0020384: EDF 1050 GUI : Strange behavior of dockable windows X-Git-Tag: V5_1_2rc3~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12700660e3b88abe1a971cf10e4bbf8d5ba2c637;p=modules%2Fgui.git 0020384: EDF 1050 GUI : Strange behavior of dockable windows --- 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 );