aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/CheckDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/CheckDelegate.qml')
-rw-r--r--src/imports/controls/CheckDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/CheckDelegate.qml b/src/imports/controls/CheckDelegate.qml
index f09dfd15..c56ef221 100644
--- a/src/imports/controls/CheckDelegate.qml
+++ b/src/imports/controls/CheckDelegate.qml
@@ -79,8 +79,8 @@ T.CheckDelegate {
background: Rectangle {
implicitWidth: 100
implicitHeight: 40
- visible: control.pressed || control.highlighted
- color: control.pressed ? "#bdbebf" : "#eeeeee"
+ visible: control.down || control.highlighted
+ color: control.down ? "#bdbebf" : "#eeeeee"
}
//! [background]
}