From: stv Date: Wed, 1 Jun 2005 10:26:11 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: T3_0_0_a1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d683bd6038eef12774b1e984f033fa17066f0687;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index 4d72cb730..40f68ee2a 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -738,11 +738,11 @@ QWidget* SalomeApp_Application::createWindow( const int flag ) if ( flag == WT_ObjectBrowser ) { OB_Browser* ob = new OB_Browser( desktop() ); - ob->setFilter( new SalomeApp_OBFilter(selectionMgr()) ); - + ob->setAutoUpdate( true ); + ob->setAutoOpenLevel( 1 ); ob->setCaption( tr( "OBJECT_BROWSER" ) ); ob->resize( OBJECT_BROWSER_WIDTH, ob->height() ); - ob->setAutoUpdate( true ); + ob->setFilter( new SalomeApp_OBFilter( selectionMgr() ) ); // Create OBSelector new SalomeApp_OBSelector( ob, mySelMgr );