Commit a36e8a36 authored by Arjen Hiemstra's avatar Arjen Hiemstra

Remove "pressed" from CheckIndicator "on" state

Radio/check buttons really should only be on when the actual control is
in checked state.

BUG: 421695
parent e3183187
......@@ -13,7 +13,7 @@ StylePrivate.StyleItem {
id: styleitem
elementType: control.autoExclusive ? "radiobutton" : "checkbox"
sunken: control.pressed
on: control.checked || control.pressed
on: control.checked
hover: control.hovered
enabled: control.enabled
properties: {"partiallyChecked": (control.checkState === Qt.PartiallyChecked) }
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