diff options
author | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-05-01 17:09:25 -0400 |
---|---|---|
committer | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-05-01 17:13:19 -0400 |
commit | 37665386df4bd64ac91229fcd52c9c35e655483d (patch) | |
tree | 721dc056baad22ec1c844481878575d44d08fff2 | |
parent | d7a6612b3248b775bccac31a7a2075f7133d0316 (diff) | |
download | eclipse.platform.swt-37665386df4bd64ac91229fcd52c9c35e655483d.tar.gz eclipse.platform.swt-37665386df4bd64ac91229fcd52c9c35e655483d.tar.xz eclipse.platform.swt-37665386df4bd64ac91229fcd52c9c35e655483d.zip |
Bug 378116 - Tracker not forwarding keyboard events while in Tracker
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tracker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tracker.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tracker.java index 3d295d135a..7b9887518f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tracker.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tracker.java @@ -562,7 +562,7 @@ void key (NSEvent nsEvent) { event.keyCode = keyCode; int type = nsType == OS.NSKeyDown ? SWT.KeyDown : SWT.KeyUp; if (!setKeyState (event, type, nsEvent)) break; - sendKeyEvent (type, event); + if (!sendKeyEvent (type, event)) return; break; } case OS.NSFlagsChanged: { |