From 5e6888ba02f548bd5e9c3dccc2e6039daf508233 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Tue, 31 Oct 2017 19:46:55 +0300 Subject: [PATCH] PY-26657 PY-26749 Allow installing Python framework if a new Python environment is selected --- .../python/newProject/steps/ProjectSpecificSettingsStep.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 5248010a885a..5e748cbcee96 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 @@ -182,7 +182,10 @@ public class ProjectSpecificSettingsStep extends ProjectSettingsStepBase i final PythonProjectGenerator generator = ObjectUtils.tryCast(myProjectGenerator, PythonProjectGenerator.class); final Sdk sdk = getInterpreterPanelSdk(); - if (generator == null || sdk == null) return true; + if (generator == null || sdk == null) { + myInstallFramework = true; + return true; + } try { generator.checkProjectCanBeCreatedOnSdk(sdk, new File(myLocationField.getText()));