IDEA-129296 Settings in Code Style are not saved on changing

This commit is contained in:
Konstantin Bulenkov
2014-09-01 12:48:05 +02:00
parent e3e89fccf8
commit 02d26465ff
@@ -302,6 +302,11 @@ public class CodeStyleSchemesConfigurable extends SearchableConfigurable.Parent.
@Override
public boolean isModified() {
if (myModel != null) {
if (Registry.is("ide.new.settings.dialog")) {
if (myPanels != null && myPanels.size() > 0 && myPanels.get(0).isModified()) {
return true;
}
}
boolean schemeListModified = myModel.isSchemeListModified();
if (schemeListModified) {
myApplyCompleted = false;