From 56a5008f74817daad9fa650fc9d848c36f37fdec Mon Sep 17 00:00:00 2001 From: lempinen Date: Tue, 4 Oct 2011 10:19:16 +0000 Subject: [PATCH] git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@22523 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 e6003653..b4efb985 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 @@ -147,7 +147,7 @@ public class DiagramViewer extends org.simantics.modeling.ui.diagramEditor.Diagr @Override protected void addKeyBindingParticipants(CanvasContext ctx) { ctx.add(new DeleteHandler(getEditorSite().getActionBars().getStatusLineManager())); - ctx.add(new CopyPasteHandler(getEditorSite().getActionBars().getStatusLineManager())); + ctx.add(new CopyPasteHandler(getEditorSite().getActionBars().getStatusLineManager()).setWorkbenchSite(getEditorSite())); ctx.add(new CreateVariablesShortcutParticipant(synchronizer)); } -- 2.47.1