summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorSimon Kaufmann2010-12-10 13:59:12 (EST)
committer Simon Kaufmann2010-12-10 14:01:57 (EST)
commit46577ed73b032af68678c111ab6531d9a0e5db64 (patch)
treed0ea8f39295cd8ff99edeb9d38899c297ceb17b2
parentd7a9c88efb062191ae63e802888b3bca74089f30 (diff)
downloadegit-46577ed73b032af68678c111ab6531d9a0e5db64.zip
egit-46577ed73b032af68678c111ab6531d9a0e5db64.tar.gz
egit-46577ed73b032af68678c111ab6531d9a0e5db64.tar.bz2
Fixed ignored presetUri in RepositorySelectionPagerefs/changes/03/2103/1
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.java2
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 c39a76d..a017168 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