IDEA-130601 Other indent options are saved without diff filter applied (non-changed settings are saved too)

This commit is contained in:
Rustam Vishnyakov
2014-10-03 15:00:36 +04:00
parent 19aaf456b7
commit f394815ce9
@@ -918,7 +918,7 @@ public class CommonCodeStyleSettings {
@Override
public void writeExternal(Element element) throws WriteExternalException {
DefaultJDOMExternalizer.writeExternal(this, element);
DefaultJDOMExternalizer.writeExternal(this, element, new DifferenceFilter<IndentOptions>(this, new IndentOptions()));
}
public void serialize(Element indentOptionsElement, final IndentOptions defaultOptions) {