aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Thun2010-12-02 13:34:03 (EST)
committerMathias Kinzler2011-01-26 05:26:29 (EST)
commit921f234e44e4d2715eecaf6efcd4d43e6ddcad52 (patch)
tree6deb383620e8d513072e48770aa961569e3a96e1
parent897baf6bb2cf8e1e5e242bd318d8a4215c9de155 (diff)
downloadegit-921f234e44e4d2715eecaf6efcd4d43e6ddcad52.zip
egit-921f234e44e4d2715eecaf6efcd4d43e6ddcad52.tar.gz
egit-921f234e44e4d2715eecaf6efcd4d43e6ddcad52.tar.bz2
Small enhancement to the 'Configure Git Repository' dialogrefs/changes/06/2006/2
When sharing a project (Team -> Share) it is required to specify a Git repository location. In order to create a new repository it is required to first select a project. But it was not possible to select the project by clicking on the check box in front of it; the user had to click somewhere else. With this patch the project also gets selected by clicking on the check box. Change-Id: I6764f9f7bab0af1d5e754f0ac6c861b79f8eb582 Signed-off-by: Philipp Thun <philipp.thun@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java
index e7e4535..e8072ee 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java
@@ -238,6 +238,7 @@ class ExistingOrNewPage extends WizardPage {
tree.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
+ tree.select((TreeItem)e.item);
updateCreateOptions();
}
});