diff --git a/python/python-community-configure/src/com/jetbrains/python/newProject/steps/ProjectSpecificSettingsStep.java b/python/python-community-configure/src/com/jetbrains/python/newProject/steps/ProjectSpecificSettingsStep.java index 594ba2c8295c..9a7f106dc5ec 100644 --- a/python/python-community-configure/src/com/jetbrains/python/newProject/steps/ProjectSpecificSettingsStep.java +++ b/python/python-community-configure/src/com/jetbrains/python/newProject/steps/ProjectSpecificSettingsStep.java @@ -177,6 +177,11 @@ public class ProjectSpecificSettingsStep extends ProjectSettingsStepBase impleme }, "Refreshing List of Packages, Please Wait", false, null); } }); + + if (myRemotePathField != null) { + myRemotePathField.addTextChangeListener(this::checkValid); + } + UiNotifyConnector.doWhenFirstShown(mySdkCombo, this::checkValid); } } @@ -348,7 +353,6 @@ public class ProjectSpecificSettingsStep extends ProjectSettingsStepBase impleme mySdkCombo.addChangedListener(e -> configureMappingField(remoteInterpreterManager)); panelToAddField.add(myRemotePathField.getMainPanel()); - myRemotePathField.addTextChangeListener(() -> checkValid()); configureMappingField(remoteInterpreterManager); }