mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE @com.intellij.openapi.roots.ui.configuration.ClasspathEditor.setSdk
This commit is contained in:
@@ -159,7 +159,10 @@ public class ClasspathEditor extends ModuleElementsEditor implements ModuleRootL
|
||||
model.inheritSdk();
|
||||
}
|
||||
|
||||
myPanel.forceInitFromModel();
|
||||
if (myPanel != null) {
|
||||
myPanel.forceInitFromModel();
|
||||
}
|
||||
|
||||
flushChangesToModel();
|
||||
|
||||
return oldSdk;
|
||||
|
||||
Reference in New Issue
Block a user