From d0f755ad31c06641f8e9a9010a79356f483340c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hannu=20Niemist=C3=B6?= Date: Tue, 5 Sep 2017 12:26:50 +0300 Subject: [PATCH] (refs #7464) Fixed SWTKeyEventAdapter for producing '*' Change-Id: I53497ff8a7999e69c3e9a906d02dd4b229486435 --- .../src/org/simantics/g2d/event/adapter/SWTKeyEventAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/event/adapter/SWTKeyEventAdapter.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/event/adapter/SWTKeyEventAdapter.java index ce36ba2c9..e10c8e6a6 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/event/adapter/SWTKeyEventAdapter.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/event/adapter/SWTKeyEventAdapter.java @@ -118,6 +118,7 @@ public class SWTKeyEventAdapter extends AbstractEventAdapter implements KeyListe case SWT.PAUSE: return KeyEvent.VK_PAUSE; //case SWT.BREAK: return KeyEvent.vk_ case SWT.PRINT_SCREEN: return KeyEvent.VK_PRINTSCREEN; + case '\'': return KeyEvent.VK_QUOTE; case SWT.DEL: return KeyEvent.VK_DELETE; case SWT.CR: return KeyEvent.VK_ENTER; -- 2.47.1