]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug with tree update.
authorstv <stv@opencascade.com>
Tue, 14 Jun 2005 05:10:55 +0000 (05:10 +0000)
committerstv <stv@opencascade.com>
Tue, 14 Jun 2005 05:10:55 +0000 (05:10 +0000)
src/ObjBrowser/OB_Browser.cxx

index 2ffae850798e2e1aa8051e6df7f3f58f5341b41f..06e3e42a850a158d798e12cb310fde1ddca5ca5e 100755 (executable)
@@ -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,