Bar settings + Add widget: include widget description in option rows

This commit is contained in:
Ryan Hughes
2026-05-18 02:20:00 -04:00
parent 135d21cae2
commit 713a32e61d
@@ -780,7 +780,11 @@ Item {
var list = root.availableToAdd(section.sectionKey)
var out = []
for (var i = 0; i < list.length; i++) {
out.push({ value: list[i].id, label: list[i].name + (list[i].elsewhere ? " (elsewhere)" : "") })
out.push({
value: list[i].id,
label: list[i].name + (list[i].elsewhere ? " (elsewhere)" : ""),
description: list[i].description || ""
})
}
return out
}