Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-10-14 22:27:13 -0400
committerspingel2009-10-14 22:27:13 -0400
commita49c833b8b63547ccb9c137a04ad5a55d0c4c8da (patch)
tree6575b7afa7f52d0cde5e64e2f3bc1bcc162e158a
parentb0fd77e54a95a0139d2b845c02817c9d5716461a (diff)
downloadorg.eclipse.mylyn.tasks-a49c833b8b63547ccb9c137a04ad5a55d0c4c8da.tar.gz
org.eclipse.mylyn.tasks-a49c833b8b63547ccb9c137a04ad5a55d0c4c8da.tar.xz
org.eclipse.mylyn.tasks-a49c833b8b63547ccb9c137a04ad5a55d0c4c8da.zip
RESOLVED - bug 292307: [releng] conduct manual tests for Mylyn 3.3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292307
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/EditorUtil.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/EditorUtil.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/EditorUtil.java
index 0a5c644fe..72f8bdc40 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/EditorUtil.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/EditorUtil.java
@@ -556,12 +556,20 @@ public class EditorUtil {
combo.addListener(SWT.KeyDown, new Listener() {
public void handleEvent(Event event) {
if (event.keyCode == SWT.ARROW_UP) {
+ if (combo.isFocusControl()) {
+ // could be a legitimate key event, let CCombo handle it
+ return;
+ }
ScrolledComposite form = FormUtil.getScrolledComposite(combo);
if (form != null) {
EditorUtil.scroll(form, 0, -form.getVerticalBar().getIncrement());
event.doit = false;
}
} else if (event.keyCode == SWT.ARROW_DOWN) {
+ if (combo.isFocusControl()) {
+ // could be a legitimate key event, let CCombo handle it
+ return;
+ }
ScrolledComposite form = FormUtil.getScrolledComposite(combo);
if (form != null) {
EditorUtil.scroll(form, 0, form.getVerticalBar().getIncrement());

Back to the top