From: stv Date: Mon, 27 Jun 2005 11:20:56 +0000 (+0000) Subject: Bug in auto open. X-Git-Tag: T3_0_0_a4~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7287b371180c3030789569e97b9b5a5f731cc661;p=modules%2Fgui.git Bug in auto open. --- diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index 2208b59c4..dd6033a40 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -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(); }