From 208c5bb0b5aaffa802d26ec59a789ab730bcb402 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Thu, 29 Sep 2011 16:01:05 +0000 Subject: [PATCH] Removed excess scheduleZoomToFit invocation which prevented diagram state restore from working properly in Sysdyn. git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@22484 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/ui/editor/DiagramViewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java index 90d35510..e6003653 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/DiagramViewer.java @@ -95,7 +95,7 @@ public class DiagramViewer extends org.simantics.modeling.ui.diagramEditor.Diagr ep.update(e); } } - scheduleZoomToFit(); + //scheduleZoomToFit(); } } }); -- 2.47.1