diff options
author | mkersten | 2005-11-21 16:34:55 +0000 |
---|---|---|
committer | mkersten | 2005-11-21 16:34:55 +0000 |
commit | cd7721c465f665df134890c88014ead0f279c10e (patch) | |
tree | df856819b4db3fcc216cec9d5accbf609910e237 /org.eclipse.mylyn.bugzilla.ui/src | |
parent | 878a1aadcaab4fed0a53a8b2e0206d335f308263 (diff) | |
download | org.eclipse.mylyn.tasks-cd7721c465f665df134890c88014ead0f279c10e.tar.gz org.eclipse.mylyn.tasks-cd7721c465f665df134890c88014ead0f279c10e.tar.xz org.eclipse.mylyn.tasks-cd7721c465f665df134890c88014ead0f279c10e.zip |
Progress on: Bug 116493: mylar reopen closed editors on task acticvation
Report URL: https://bugs.eclipse.org/bugs/show_bug.cgi?id=116493
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui/src')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java index 484b99962..0e298be17 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java @@ -600,7 +600,11 @@ public abstract class AbstractBugEditor extends EditorPart implements Listener { for (int i = 0; i < a.length; i++) { oSCombo.add(a[i]); } - oSCombo.select(oSCombo.indexOf(value)); + if (oSCombo.indexOf(value) != -1) { + oSCombo.select(oSCombo.indexOf(value)); + } else { + oSCombo.select(oSCombo.indexOf("All")); + } oSCombo.addListener(SWT.Modify, this); comboListenerMap.put(oSCombo, name); oSCombo.addListener(SWT.FocusIn, new GenericListener()); |