From: mkr Date: Tue, 4 Oct 2005 12:11:01 +0000 (+0000) Subject: Fix for bug IPAL9216 : 2.2.4: Object Browser isn't updated after "Add in Study" dataflow. X-Git-Tag: V2_2_6~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bba5b164ab5702c6dddfdd741c9266cb69a9a557;p=modules%2Fsuperv.git Fix for bug IPAL9216 : 2.2.4: Object Browser isn't updated after "Add in Study" dataflow. --- diff --git a/src/SUPERVGUI/SUPERVGUI_Main.cxx b/src/SUPERVGUI/SUPERVGUI_Main.cxx index 4573ec2..a363a71 100644 --- a/src/SUPERVGUI/SUPERVGUI_Main.cxx +++ b/src/SUPERVGUI/SUPERVGUI_Main.cxx @@ -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" );