mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
NPE
This commit is contained in:
@@ -146,8 +146,10 @@ public class CodeStyleSchemesConfigurable extends SearchableConfigurable.Parent.
|
||||
}
|
||||
|
||||
private boolean isSomeSchemeModified() {
|
||||
for (CodeStyleConfigurableWrapper panel : myPanels) {
|
||||
if (panel.isPanelModified()) return true;
|
||||
if (myPanels != null) {
|
||||
for (CodeStyleConfigurableWrapper panel : myPanels) {
|
||||
if (panel.isPanelModified()) return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user