Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2011-02-15 18:01:20 -0500
committerMatthias Sohn2011-02-20 19:06:57 -0500
commit7bb700aa9c8172a8409abc3ae0f97fa261c03a8f (patch)
tree87d80dac20c1a4017e1a4418dcaf2ef94c38bcfd
parentc3c787a67d2392c6221ee7adf4980a7a5f5f199d (diff)
downloadegit-7bb700aa9c8172a8409abc3ae0f97fa261c03a8f.tar.gz
egit-7bb700aa9c8172a8409abc3ae0f97fa261c03a8f.tar.xz
egit-7bb700aa9c8172a8409abc3ae0f97fa261c03a8f.zip
Set focus to "Change" field in "Fetch from Gerrit" wizard
The "Change" field is the one typically edited when using the "Fetch from Gerrit" wizard. Setting focus to that field helps to avoid unnecessary clicks in the most common use case. Change-Id: I33a40099d2205124677afb7d93c9c9b86760d533 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java
index 2f35e6e24..2cc711b1d 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchGerritChangePage.java
@@ -238,7 +238,7 @@ public class FetchGerritChangePage extends WizardPage {
for (String aUri : uris)
uriCombo.add(aUri);
uriCombo.select(0);
-
+ refText.setFocus();
Dialog.applyDialogFont(main);
setControl(main);
}

Back to the top