Commit d9c1d5ae authored by Nate Graham's avatar Nate Graham 🔩

Also use highlight text color when checkDelegate is highlighted

Otherwise it has the wrong text color in this case.

BUG: 427022
FIXED-IN: 5.75
parent 7b7946e1
......@@ -34,7 +34,7 @@ T.CheckDelegate {
text: controlRoot.text
font: controlRoot.font
color: (controlRoot.pressed && !controlRoot.checked && !controlRoot.sectionDelegate) ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
color: (((controlRoot.pressed && !controlRoot.checked) || controlRoot.highlighted) && !controlRoot.sectionDelegate) ? Kirigami.Theme.highlightedTextColor : Kirigami.Theme.textColor
elide: Text.ElideRight
visible: controlRoot.text
horizontalAlignment: Text.AlignLeft
......
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