diff options
author | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-03-08 17:21:54 -0500 |
---|---|---|
committer | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-03-10 16:42:15 -0500 |
commit | e1cf3a98bb6cd87d3590664f506dbfd017b28fdb (patch) | |
tree | 980482eccaa4c0a1b2dd680e20f612d85a4872e1 /bundles/org.eclipse.swt/Eclipse SWT Custom Widgets | |
parent | 6b083490c307e06e3dbe89efcb32f0c23cd5e466 (diff) | |
download | eclipse.platform.swt-e1cf3a98bb6cd87d3590664f506dbfd017b28fdb.tar.gz eclipse.platform.swt-e1cf3a98bb6cd87d3590664f506dbfd017b28fdb.tar.xz eclipse.platform.swt-e1cf3a98bb6cd87d3590664f506dbfd017b28fdb.zip |
Change menu detect event detail constant names
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Custom Widgets')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java index e1a337e42c..78bf72f3cb 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java @@ -5968,7 +5968,7 @@ void handleKeyUp(Event event) { * @param event menu detect event */ void handleMenuDetect(Event event) { - if (event.detail == SWT.CONTEXT_FOCUS) { + if (event.detail == SWT.MENU_KEYBOARD) { Point point = getPointAtOffset(caretOffset); Display display = getDisplay(); point = display.map(this, null, point); |