]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug IPAL9216 : 2.2.4: Object Browser isn't updated after "Add in Study" dataflow.
authormkr <mkr@opencascade.com>
Tue, 4 Oct 2005 12:11:01 +0000 (12:11 +0000)
committermkr <mkr@opencascade.com>
Tue, 4 Oct 2005 12:11:01 +0000 (12:11 +0000)
src/SUPERVGUI/SUPERVGUI_Main.cxx

index 4573ec23b94cfb036ef97a65c2943055c75e219c..a363a7152717b41b4997731726116615c7141294 100644 (file)
@@ -917,8 +917,11 @@ void SUPERVGUI_Main::addDataflowToStudy() {
     Supervision.unregisterGraph(this);
     Supervision.registerGraph(dataflow->getIOR(), this);
 
-    if ( !myThread->running() )
+    if ( !myThread->running() ) {
+      // mkr : fix for IPAL9216
+      getStudy()->updateObjBrowser();
       MESSAGE("WANTED - study->updateObjBrowser(); ");
+    }
   }
   else {
     MESSAGE( "ERROR: failed to find or create dataflow SObject" );