From 15f52b1eac4bbdb748dbc671e6eb2ec5a7d2fcf0 Mon Sep 17 00:00:00 2001 From: Maxim Shafirov Date: Thu, 29 Dec 2011 19:55:35 +0400 Subject: [PATCH] IDEA-79391: most wizards cannot be finished on mac --- .../src/com/intellij/ide/wizard/AbstractWizard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java b/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java index f6e6c3b2d616..a5f2f3107759 100644 --- a/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java +++ b/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java @@ -449,7 +449,7 @@ public abstract class AbstractWizard extends DialogWrapper { } protected boolean isLastStep() { - return myCurrentStep == mySteps.size() - 1; + return myCurrentStep == mySteps.size() - 1 || getCurrentStep() == getNextStep(getCurrentStep()); } protected JButton getNextButton() {