From: stv Date: Mon, 14 Nov 2005 07:41:32 +0000 (+0000) Subject: OB_Browser::openBranch(): Checking of childCount was canceled. (Debug step from child... X-Git-Tag: V3_1_0a3~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=265060c9ea5e1ccba7927af1fe2eb9d9a05e81d9;p=modules%2Fgui.git OB_Browser::openBranch(): Checking of childCount was canceled. (Debug step from child to child) --- diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index dfaa688ff..cb7d2e26b 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -1081,7 +1081,7 @@ void OB_Browser::autoOpenBranches() void OB_Browser::openBranch( QListViewItem* item, const int level ) { - if ( !item || level < 1 || !item->childCount() ) + if ( level < 1 ) return; while ( item )