Permalink
Browse files

STS-2725: Gradle import wizard finish button not disabled when error …

…is displayed
  • Loading branch information...
1 parent 1765aca commit 18823742f227ccc26b211b5409b9574c4ec7073d @kdvolder kdvolder committed Jul 4, 2012
@@ -350,10 +350,8 @@ protected void checkPageComplete() {
setMessage(null, IStatus.WARNING);
if (!isTreePopulated) {
setErrorMessage("You must click 'Build Model' before you can select projects to import");
- setPageComplete(false);
} else if (!hasSelectedProjects()) {
setErrorMessage("At least one project must be selected to import");
- setPageComplete(false);
} else {
try {
updateProjectMapping();
@@ -379,7 +377,7 @@ protected void checkPageComplete() {
setMessage("Dependency management is disabled so you probably want to enable running the 'eclipse' task before import to configure the classpath.", IStatus.WARNING);
}
}
- setPageComplete(operation!=null);
+ setPageComplete(getErrorMessage()==null);
}
private String getRootProjectName() {

0 comments on commit 1882374

Please sign in to comment.