Save config on theme change

This commit is contained in:
luboslenco
2020-03-27 12:13:09 +01:00
parent 1cdc879318
commit 91343d3a65
+1
View File
@@ -59,6 +59,7 @@ class BoxPreferences {
ui.combo(themeHandle, themes, tr("Theme"), true);
if (themeHandle.changed) {
Config.raw.theme = themes[themeHandle.position] + ".json";
Config.save();
loadTheme(Config.raw.theme);
}