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 a8df6e491e2c..35a1489f2503 100644 --- a/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java +++ b/platform/platform-api/src/com/intellij/ide/wizard/AbstractWizard.java @@ -478,7 +478,7 @@ public abstract class AbstractWizard extends DialogWrapper { } public void updateWizardButtons() { - if (!mySteps.isEmpty()) + if (!mySteps.isEmpty() && getRootPane() != null) updateButtons(); }