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