mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-26657 PY-26749 Allow installing Python framework if a new Python environment is selected
This commit is contained in:
+4
-1
@@ -182,7 +182,10 @@ public class ProjectSpecificSettingsStep<T> extends ProjectSettingsStepBase<T> 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()));
|
||||
|
||||
Reference in New Issue
Block a user