From: mkr Date: Fri, 30 Sep 2005 13:30:17 +0000 (+0000) Subject: Fix for bug IPAL9564 : Maintainance Mandrake porting: Crash of GraphEmbeddedComponent... X-Git-Tag: V2_2_6~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=681f5cade0721ca5e7d3b30a69a24c6feb37e874;p=modules%2Fsuperv.git Fix for bug IPAL9564 : Maintainance Mandrake porting: Crash of GraphEmbeddedComponents.xml. --- diff --git a/src/SUPERVGUI/SUPERVGUI_Main.cxx b/src/SUPERVGUI/SUPERVGUI_Main.cxx index 239f6ce..4573ec2 100644 --- a/src/SUPERVGUI/SUPERVGUI_Main.cxx +++ b/src/SUPERVGUI/SUPERVGUI_Main.cxx @@ -1298,7 +1298,9 @@ void SUPERVGUI_Thread::run() myMain->getDataflow()->Event(aNode, aEvent, aState); // in case node "said" something during changing state through notification mechanism - output it + qApp->lock(); // mkr : IPAL9564 myMain->syncNotification(); + qApp->unlock(); // "kill" or undefined event came if (( aEvent == SUPERV::UndefinedEvent && aState == SUPERV::UndefinedState ) ||