]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0020384: EDF 1050 GUI : Strange behavior of dockable windows
authorvsr <vsr@opencascade.com>
Mon, 15 Jun 2009 15:36:50 +0000 (15:36 +0000)
committervsr <vsr@opencascade.com>
Mon, 15 Jun 2009 15:36:50 +0000 (15:36 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index fcaca8479b579c248fb44a55fc426252c64031e0..dddb815f43e991dd100f28b377bd3ffab2bf2b95 100644 (file)
@@ -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 );