aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-05-29 05:49:35 -0400
committerjgmdev <jgmdev@gmail.com>2022-05-29 05:49:35 -0400
commit497cdecd88c4920c364157814168ca5d8aad99c0 (patch)
treeeaddb1a46d91fc4c625ab03bb6d2385689460761 /plugins
parent202eddfcc91ee07ea6647b35b140244318355629 (diff)
downloadlite-xl-plugins-497cdecd88c4920c364157814168ca5d8aad99c0.tar.gz
lite-xl-plugins-497cdecd88c4920c364157814168ca5d8aad99c0.zip
settings: save settings on theme change
Diffstat (limited to 'plugins')
-rw-r--r--plugins/settings.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/settings.lua b/plugins/settings.lua
index 3696310..e568c48 100644
--- a/plugins/settings.lua
+++ b/plugins/settings.lua
@@ -1071,6 +1071,7 @@ function Settings:load_color_settings()
function listbox:on_row_click(idx, data)
core.reload_module("colors." .. data.name)
settings.config.theme = data.name
+ save_settings()
end
end