Project SDK is lost if any changes are made to platform SDK configuration (IDEA-131812, IDEA-130135)

This commit is contained in:
nik
2014-12-05 10:47:11 +03:00
parent 6adf53ee39
commit 864192d951
2 changed files with 16 additions and 15 deletions
@@ -285,7 +285,7 @@ public class PythonSdkDetailsDialog extends DialogWrapper {
myProjectSdksModel.addSdk(sdk);
}
refreshSdkList();
mySdkList.setSelectedValue(sdk, true);
mySdkList.setSelectedValue(myProjectSdksModel.findSdk(sdk.getName()), true);
mySdkListChanged = true;
}
}