Skip to content

Commit

Permalink
Calling CommandController.canExecute() in the Wizard.canFinish() method
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 20, 2014
1 parent d3fcac5 commit b5e8510
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ public void addPages() {

@Override
public boolean canFinish() {
if (isWizard()) {
return ((WizardCommandController) controller).canExecute();
} else {
return controller.isValid();
}
return controller.canExecute();
}

@Override
Expand Down

0 comments on commit b5e8510

Please sign in to comment.