Add labels for index-type settings

This commit is contained in:
Athozus 2023-12-05 22:46:52 +01:00
parent bebb7a8702
commit 802f9f727b
No known key found for this signature in database
GPG key ID: B50895022E8484BF
2 changed files with 4 additions and 1 deletions

View file

@ -96,6 +96,9 @@ function mail.show_settings(name)
local dataset_str = table.concat(formatted_dataset, ",")
local dataset_selected_id = field_default
formspec = formspec .. [[
label[]] .. x .. "," .. y .. ";" .. data.label .. "]"
y = y + 0.4
formspec = formspec .. [[
dropdown[]] .. x .. "," .. y .. ";3,0.5;" .. setting .. ";" ..
dataset_str .. [[;]] .. dataset_selected_id .. [[;true]
]]