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