Salome HOME
projects
/
modules
/
superv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7944bea
)
Fix for bug IPAL9369 : 3.0.0 (debianex: INSTALL2): CRASH after link deletion of the...
author
mkr
<mkr@opencascade.com>
Mon, 4 Jul 2005 11:46:54 +0000
(11:46 +0000)
committer
mkr
<mkr@opencascade.com>
Mon, 4 Jul 2005 11:46:54 +0000
(11:46 +0000)
src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx
patch
|
blob
|
history
diff --git
a/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx
b/src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx
index 4855b18adae231260f802b0680c3b23c39977385..955d3b89698ce8f31daf577d3e557866e4610c7a 100644
(file)
--- 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;