diff options
| author | Philipp Thun | 2010-12-02 18:34:03 +0000 |
|---|---|---|
| committer | Mathias Kinzler | 2011-01-26 10:26:29 +0000 |
| commit | 921f234e44e4d2715eecaf6efcd4d43e6ddcad52 (patch) | |
| tree | 6deb383620e8d513072e48770aa961569e3a96e1 | |
| parent | 897baf6bb2cf8e1e5e242bd318d8a4215c9de155 (diff) | |
| download | egit-921f234e44e4d2715eecaf6efcd4d43e6ddcad52.tar.gz egit-921f234e44e4d2715eecaf6efcd4d43e6ddcad52.tar.xz egit-921f234e44e4d2715eecaf6efcd4d43e6ddcad52.zip | |
Small enhancement to the 'Configure Git Repository' dialog
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.java | 1 |
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 e7e453556d..e8072ee5df 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(); } }); |
