aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/material/DelayButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols2/material/DelayButton.qml')
-rw-r--r--src/quickcontrols2/material/DelayButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols2/material/DelayButton.qml b/src/quickcontrols2/material/DelayButton.qml
index d35df35c23..57d1d2733a 100644
--- a/src/quickcontrols2/material/DelayButton.qml
+++ b/src/quickcontrols2/material/DelayButton.qml
@@ -109,7 +109,7 @@ T.DelayButton {
height: parent.height
pressed: control.pressed
anchor: control
- active: control.down || control.visualFocus || control.hovered
+ active: enabled && (control.down || control.visualFocus || control.hovered)
color: control.Material.rippleColor
}
}