diff options
author | Chris Goldthorpe | 2008-03-21 19:26:19 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2008-03-21 19:26:19 +0000 |
commit | d46c4a7e62fbfb483daf3c22ac75c0e43d1a48ff (patch) | |
tree | 36b1fbca0f889a09a075b1012995afe8abb6b7ff /org.eclipse.help.ui | |
parent | 3bdf919b500f491ec8638ba256a15a3332753765 (diff) | |
download | eclipse.platform.ua-d46c4a7e62fbfb483daf3c22ac75c0e43d1a48ff.tar.gz eclipse.platform.ua-d46c4a7e62fbfb483daf3c22ac75c0e43d1a48ff.tar.xz eclipse.platform.ua-d46c4a7e62fbfb483daf3c22ac75c0e43d1a48ff.zip |
Diffstat (limited to 'org.eclipse.help.ui')
-rw-r--r-- | org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java index 1c26f5a30..ca6722e51 100644 --- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java +++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java @@ -243,7 +243,7 @@ public class SearchPart extends AbstractFormPart implements IHelpPart, IHelpUICo searchWordCombo.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { if (e.character == '\r') { - if (goButton.isEnabled()) + if (goButton.isEnabled() && searchWordCombo.getSelectionIndex() < 0) doSearch(searchWordCombo.getText()); } } |