From e93a11272920716ff02221284932d38aba28e97f Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Wed, 16 Mar 2016 15:30:43 +0300 Subject: [PATCH] IDEA-153028 New Project Wizard: if no Android SDK is configured, after opening Android wizard "Ne... --- .../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 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(); }