]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Bug in auto open.
authorstv <stv@opencascade.com>
Mon, 27 Jun 2005 11:20:56 +0000 (11:20 +0000)
committerstv <stv@opencascade.com>
Mon, 27 Jun 2005 11:20:56 +0000 (11:20 +0000)
src/ObjBrowser/OB_Browser.cxx

index 2208b59c4099b39b52cf25e2d40a1a6a14857fdf..dd6033a40a44bcdc7632fcf611e36dc13b5fb8c0 100755 (executable)
@@ -1058,9 +1058,9 @@ void OB_Browser::openBranch( QListViewItem* item, const int level )
   if ( !item || level < 1 || !item->childCount() )
     return;
 
-  item->setOpen( true );
   while ( item )
   {
+    item->setOpen( true );
     openBranch( item->firstChild(), level - 1 );
     item = item->nextSibling();
   }