From: stv Date: Tue, 14 Jun 2005 05:10:55 +0000 (+0000) Subject: Fix for bug with tree update. X-Git-Tag: T3_0_0_a3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1a50a38c7ede06d08e081fba53b4be3c9164ed0c;p=modules%2Fgui.git Fix for bug with tree update. --- diff --git a/src/ObjBrowser/OB_Browser.cxx b/src/ObjBrowser/OB_Browser.cxx index 2ffae8507..06e3e42a8 100755 --- a/src/ObjBrowser/OB_Browser.cxx +++ b/src/ObjBrowser/OB_Browser.cxx @@ -607,7 +607,7 @@ void OB_Browser::updateView( const SUIT_DataObject* theStartObj ) createTree( it.current(), 0, 0 ); } else - createTree( theStartObj, parent, after ); + createTree( theStartObj, parent, after ? after : parent ); } QListViewItem* OB_Browser::createTree( const SUIT_DataObject* obj,