diff options
| author | Simon Kaufmann | 2010-12-10 18:59:12 +0000 |
|---|---|---|
| committer | Simon Kaufmann | 2010-12-10 19:01:57 +0000 |
| commit | 46577ed73b032af68678c111ab6531d9a0e5db64 (patch) | |
| tree | d0ea8f39295cd8ff99edeb9d38899c297ceb17b2 | |
| parent | d7a9c88efb062191ae63e802888b3bca74089f30 (diff) | |
| download | egit-46577ed73b032af68678c111ab6531d9a0e5db64.tar.gz egit-46577ed73b032af68678c111ab6531d9a0e5db64.tar.xz egit-46577ed73b032af68678c111ab6531d9a0e5db64.zip | |
Fixed ignored presetUri in RepositorySelectionPage
The repository selection page was ignoring the presetUri parameter
if provided, so it was only possible to pre-fill the dialog by using the
clipboard.
Bug: 332315
Change-Id: I1eb4a7fa0629926db83101c33670b5eaec46361f
| -rw-r--r-- | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java index c39a76dd81..a0171685a4 100644 --- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java +++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RepositorySelectionPage.java @@ -312,7 +312,7 @@ public class RepositorySelectionPage extends WizardPage { this.uri = new URIish(); this.sourceSelection = sourceSelection; - String preset = null; + String preset = presetUri; if (presetUri == null) { Clipboard clippy = new Clipboard(Display.getCurrent()); String text = (String) clippy.getContents(TextTransfer |
