mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-12 01:12:19 -04:00
Add labels for index-type settings
This commit is contained in:
parent
bebb7a8702
commit
802f9f727b
2 changed files with 4 additions and 1 deletions
|
@ -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]
|
||||
]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue