From 65a22148f9790309febedfa003dd59ec6c8bb4f6 Mon Sep 17 00:00:00 2001 From: lempinen Date: Tue, 16 Mar 2010 13:38:43 +0000 Subject: [PATCH] Fix to the exception flood when removing elements git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@14976 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java index 6a881819..4ac87e30 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java @@ -76,6 +76,8 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void elementRemoved(IElement element) { + mapping.rangeModified(element); + mapping.rangeModified(diagram); } }; @@ -137,7 +139,6 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void elementRemoved(IElement element) { - mapping.rangeModified(diagram); } }); -- 2.47.1