Add list setting type

This commit is contained in:
Athozus 2023-12-29 22:29:06 +01:00
parent cd9e9ec8e1
commit e45d56439f
2 changed files with 34 additions and 2 deletions

View file

@ -53,6 +53,9 @@ mail.settings_groups = {
{ name = "other", label = S("Other")}
}
for s, _ in pairs(mail.settings) do
for s, d in pairs(mail.settings) do
mail.selected_idxs[s] = {}
if d.type == "list" then
mail.selected_idxs["index_" .. s] = {}
end
end