mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed EA-61979 - NPE: PyActiveSdkConfigurable$.consume
This commit is contained in:
@@ -116,7 +116,8 @@ public class PyActiveSdkConfigurable implements UnnamedConfigurable {
|
||||
PythonSdkAdditionalData additionalData = (PythonSdkAdditionalData)sdk.getSdkAdditionalData();
|
||||
if (additionalData != null) {
|
||||
final String path = additionalData.getAssociatedProjectPath();
|
||||
if (!myProject.getBasePath().equals(path))
|
||||
final String basePath = myProject.getBasePath();
|
||||
if (basePath != null && !basePath.equals(path))
|
||||
additionalData.setAssociatedProjectPath(null);
|
||||
}
|
||||
updateSdkList(false);
|
||||
|
||||
Reference in New Issue
Block a user