Verified Commit d278c485 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Handle undefined colors in checkboxes

parent 924169de
Pipeline #117461 passed with stage
in 5 minutes and 4 seconds
......@@ -481,7 +481,7 @@ Kirigami.OverlayDrawer {
Layout.fillHeight: true
visible: model.checkState != null
color: model.collectionColor
color: model.collectionColor ?? Kirigami.Theme.highlightedTextColor
checked: model.checkState === 2
onCheckedChanged: calendarCheckChanged(collectionId, checked)
onClicked: {
......
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