Don't document preferences after loading it

This commit is contained in:
David Capello 2019-05-17 19:16:15 -03:00
parent b0163f3937
commit 232c551f1a

View File

@ -228,7 +228,7 @@ void Preferences::serializeDocPref(const Doc* doc, app::DocumentPreferences* doc
}
if (doc) {
if (flush_config)
if (save && flush_config)
flush_config_file();
pop_config_state();