]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorstv <stv@opencascade.com>
Wed, 1 Jun 2005 10:26:11 +0000 (10:26 +0000)
committerstv <stv@opencascade.com>
Wed, 1 Jun 2005 10:26:11 +0000 (10:26 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index 4d72cb730a04c0ded8e339f031ab3d2f4c10186c..40f68ee2a744e00dc8c4e612a38a0b96f211365d 100644 (file)
@@ -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 );