From: Hannu Niemistö Date: Tue, 5 Sep 2017 09:26:50 +0000 (+0300) Subject: (refs #7464) Fixed SWTKeyEventAdapter for producing '*' X-Git-Tag: v1.31.0~200 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=d0f755ad31c06641f8e9a9010a79356f483340c5;p=simantics%2Fplatform.git (refs #7464) Fixed SWTKeyEventAdapter for producing '*' Change-Id: I53497ff8a7999e69c3e9a906d02dd4b229486435 --- 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;