From bba5b164ab5702c6dddfdd741c9266cb69a9a557 Mon Sep 17 00:00:00 2001 From: mkr Date: Tue, 4 Oct 2005 12:11:01 +0000 Subject: [PATCH] Fix for bug IPAL9216 : 2.2.4: Object Browser isn't updated after "Add in Study" dataflow. --- src/SUPERVGUI/SUPERVGUI_Main.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" ); -- 2.39.2