mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
Save preferences immediately when we press "OK" button in OptionsCommand
This commit is contained in:
parent
744fc67b28
commit
22c58887dd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user