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"; warnings += "<<- UI Elements Scale";
} }
// Save configuration m_preferences.save();
flush_config_file();
if (!warnings.empty()) { if (!warnings.empty()) {
ui::Alert::show(PACKAGE ui::Alert::show(PACKAGE