Commit b72147ec authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Disabled tags combo in incidence editor when there are no tags to choose from

parent 7e04147d
Pipeline #101964 passed with stage
in 5 minutes and 17 seconds
......@@ -801,6 +801,7 @@ Kirigami.ScrollablePage {
QQC2.ComboBox {
Layout.fillWidth: true
enabled: count > 0
model: TagManager.tagModel
displayText: root.incidenceWrapper.categories.length > 0 ?
root.incidenceWrapper.categories.join(i18nc("List separator", ", ")) :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment