Save preferences immediately when we press "OK" button in OptionsCommand

This commit is contained in:
David Capello 2015-05-28 16:36:05 -03:00
parent 744fc67b28
commit 22c58887dd

View File

@ -217,8 +217,7 @@ public:
warnings += "<<- UI Elements Scale";
}
// Save configuration
flush_config_file();
m_preferences.save();
if (!warnings.empty()) {
ui::Alert::show(PACKAGE