mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-153028 New Project Wizard: if no Android SDK is configured, after opening Android wizard "Ne...
This commit is contained in:
@@ -652,6 +652,7 @@ public class ProjectTypeStep extends ModuleWizardStep implements SettingsStep, D
|
||||
myWizard.getSequence().setType(builder.getBuilderId());
|
||||
}
|
||||
myWizard.setDelegate(builder instanceof WizardDelegate ? (WizardDelegate)builder : null);
|
||||
myWizard.updateWizardButtons();
|
||||
}
|
||||
|
||||
@TestOnly
|
||||
|
||||
@@ -477,6 +477,11 @@ public abstract class AbstractWizard<T extends Step> extends DialogWrapper {
|
||||
updateButtons(lastStep, lastStep ? canFinish() : canGoNext(), isFirstStep());
|
||||
}
|
||||
|
||||
public void updateWizardButtons() {
|
||||
if (!mySteps.isEmpty())
|
||||
updateButtons();
|
||||
}
|
||||
|
||||
public void updateButtons(boolean lastStep, boolean canGoNext, boolean firstStep) {
|
||||
if (lastStep) {
|
||||
if (mySteps.size() > 1) {
|
||||
|
||||
Reference in New Issue
Block a user