aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/material/CheckBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols2/material/CheckBox.qml')
-rw-r--r--src/quickcontrols2/material/CheckBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols2/material/CheckBox.qml b/src/quickcontrols2/material/CheckBox.qml
index a3f717be6a..02f195cad6 100644
--- a/src/quickcontrols2/material/CheckBox.qml
+++ b/src/quickcontrols2/material/CheckBox.qml
@@ -65,7 +65,7 @@ T.CheckBox {
z: -1
anchor: control
pressed: control.pressed
- active: control.down || control.visualFocus || control.hovered
+ active: enabled && (control.down || control.visualFocus || control.hovered)
color: control.checked ? control.Material.highlightedRippleColor : control.Material.rippleColor
}
}