commit | e1518f4cb192c7a6a50449cbab9f103e4a7b8312 | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@gmail.com> | Thu Jul 17 13:37:02 2014 +0200 |
committer | Lars Vogel <Lars.Vogel@gmail.com> | Fri Jul 18 04:54:06 2014 -0400 |
tree | 349f0532182e3681ff0047c1f1ef5203f33f1a59 | |
parent | 94f1a554239e21776e5c3014fb965f61c1d68ebc [diff] |
Bug 439771 - Find Contribution Class Dialog did not set focus to search box Change-Id: Idb9632c48191ec65424f02b5eb602e9c0ab19891 Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java index 394cae8..2801f17 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/dialogs/FilteredContributionDialog.java
@@ -223,6 +223,7 @@ protected Control createContents(Composite parent) { Control ret = super.createContents(parent); textBox.notifyListeners(SWT.Modify, new Event()); + textBox.setFocus(); return ret; } @@ -394,7 +395,9 @@ updateStatusMessage(); switch (status) { case READY: - // This will deadlock if currentSearchThread is not null + // This will deadlock if + // currentSearchThread is not + // null currentSearchThread = null; if (currentResultHandler != null) { currentResultHandler.cancled = true;