Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2016-05-23 21:59:21 +0000
committerMatthias Sohn2016-05-24 23:42:34 +0000
commit3f42da84dce53ef98ce3e13279a67d33a74cf1de (patch)
tree138af43c377369ec3c2397a62ed6548e668b4126
parent7f18b36ecb95dc8fef97569f225e6ba556a3cedb (diff)
downloadegit-3f42da84dce53ef98ce3e13279a67d33a74cf1de.tar.gz
egit-3f42da84dce53ef98ce3e13279a67d33a74cf1de.tar.xz
egit-3f42da84dce53ef98ce3e13279a67d33a74cf1de.zip
Fix NPE in PushBranchWizard.startPush()
Bug: 464421 Change-Id: Ia70db60627298f8017b302b639965134a7d83eae Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchWizard.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchWizard.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchWizard.java
index 2e8a47abb3..8e6ac5c10a 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchWizard.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushBranchWizard.java
@@ -126,7 +126,8 @@ public class PushBranchWizard extends Wizard {
@Override
public boolean canFinish() {
- return getContainer().getCurrentPage() == confirmationPage;
+ return getContainer().getCurrentPage() == confirmationPage
+ && confirmationPage.isPageComplete();
}
@Override

Back to the top