From 7287b371180c3030789569e97b9b5a5f731cc661 Mon Sep 17 00:00:00 2001 From: stv Date: Mon, 27 Jun 2005 11:20:56 +0000 Subject: [PATCH] Bug in auto open. --- src/ObjBrowser/OB_Browser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2