IDEA-79391: most wizards cannot be finished on mac

This commit is contained in:
Maxim Shafirov
2011-12-29 19:56:32 +04:00
parent a48a9f5efe
commit 15f52b1eac
@@ -449,7 +449,7 @@ public abstract class AbstractWizard<T extends Step> extends DialogWrapper {
}
protected boolean isLastStep() {
return myCurrentStep == mySteps.size() - 1;
return myCurrentStep == mySteps.size() - 1 || getCurrentStep() == getNextStep(getCurrentStep());
}
protected JButton getNextButton() {