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