summaryrefslogtreecommitdiffstats
path: root/framework/qml/ListView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/ListView.qml')
-rw-r--r--framework/qml/ListView.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/qml/ListView.qml b/framework/qml/ListView.qml
index 52942b65..3017e377 100644
--- a/framework/qml/ListView.qml
+++ b/framework/qml/ListView.qml
@@ -29,6 +29,14 @@ ListView {
29 clip: true 29 clip: true
30 ScrollBar.vertical: Kube.ScrollBar { id: scrollBar } 30 ScrollBar.vertical: Kube.ScrollBar { id: scrollBar }
31 31
32 Keys.onPressed: {
33 if (event.matches(StandardKey.MoveToNextLine)) {
34 incrementCurrentIndex()
35 } else if (event.matches(StandardKey.MoveToPreviousLine)) {
36 decrementCurrentIndex()
37 }
38 }
39
32 Kube.ScrollHelper { 40 Kube.ScrollHelper {
33 id: scrollHelper 41 id: scrollHelper
34 flickable: root 42 flickable: root