From 8f1767115cfe00369c8ce6c5772397484c958db9 Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 4 Jul 2005 11:46:54 +0000 Subject: [PATCH] Fix for bug IPAL9369 : 3.0.0 (debianex: INSTALL2): CRASH after link deletion of the running dataflow. --- src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx b/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx index 4855b18..955d3b8 100644 --- a/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx +++ b/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx @@ -214,6 +214,10 @@ void SUPERVGUI_CanvasLink::setColor(const QColor& theColor) } void SUPERVGUI_CanvasLink::remove() { + // IPAL9369 : check the dataflow readiness to modify + if ( !myMain->ReadyToModify() ) // null dataflow or executing, .. + return; + myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag QString aValue; -- 2.39.2