From 2d0994fea56e092c1d199ec853e52fb832b9352f Mon Sep 17 00:00:00 2001 From: lempinen Date: Thu, 27 May 2010 14:27:30 +0000 Subject: [PATCH] git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@15965 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/sysdyn/ui/editor/SysdynDiagramEditor.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 05d41f6e..f6ea01a3 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 @@ -91,8 +91,6 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void elementRemoved(IElement element) { - mapping.rangeModified(element); - mapping.rangeModified(diagram); } }; @@ -166,6 +164,8 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void elementRemoved(IElement element) { + mapping.rangeModified(element); + mapping.rangeModified(diagram); } }); @@ -182,7 +182,6 @@ public class SysdynDiagramEditor extends ResourceEditorPart { @Override public void run(ReadGraph g) throws DatabaseException { diagramResource = g.getSingleObject(getInputResource(), ModelingResources.getInstance(g).CompositeToDiagram); - System.out.println(diagramResource); readDiagram(g); } -- 2.47.1