Commit 42985994 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Faces: Add a property to disable editing of labels in Choices

parent f69def64
Pipeline #190958 passed with stage
in 4 minutes and 19 seconds
......@@ -20,6 +20,7 @@ Control {
id: control
property bool supportsColors: true
property bool labelsEditable: true
property int maxAllowedSensors: -1
property var selected: []
property var colors: {}
......@@ -229,6 +230,7 @@ Control {
}
ToolButton {
id: editButton
visible: control.labelsEditable
icon.name: "document-edit"
icon.width: Kirigami.Units.iconSizes.small
icon.height: Kirigami.Units.iconSizes.small
......
Supports Markdown
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