mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -455,7 +455,10 @@ public class PythonSdkOptions extends DialogWrapper {
|
||||
component.setPreferredSize(new Dimension(600, 400));
|
||||
component.setBorder(IdeBorderFactory.createBorder(SideBorder.ALL));
|
||||
dialog.setCenterPanel(component);
|
||||
editor.reload(getSelectedSdk().getSdkModificator());
|
||||
final Sdk sdk = getSelectedSdk();
|
||||
if (sdk != null) {
|
||||
editor.reload(sdk.getSdkModificator());
|
||||
}
|
||||
|
||||
dialog.setTitle("Interpreter Paths");
|
||||
dialog.show();
|
||||
|
||||
Reference in New Issue
Block a user