summaryrefslogtreecommitdiffstats
path: root/framework/qml/ListDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/ListDelegate.qml')
-rw-r--r--framework/qml/ListDelegate.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/qml/ListDelegate.qml b/framework/qml/ListDelegate.qml
index fd654e4c..6d6a5d08 100644
--- a/framework/qml/ListDelegate.qml
+++ b/framework/qml/ListDelegate.qml
@@ -33,6 +33,11 @@ T.ItemDelegate {
33 hoverEnabled: true 33 hoverEnabled: true
34 highlighted: ListView.isCurrentItem 34 highlighted: ListView.isCurrentItem
35 35
36 onClicked: {
37 ListView.view.currentIndex = index
38 ListView.view.forceActiveFocus()
39 }
40
36 background: Kube.DelegateBackground { 41 background: Kube.DelegateBackground {
37 id: background 42 id: background
38 border.color: Kube.Colors.buttonColor 43 border.color: Kube.Colors.buttonColor