diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-06 16:45:04 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-06 16:45:04 +0200 |
commit | a301d1db33fdecb0e66495b51019922a9b040c1f (patch) | |
tree | daa93751bcfd171b79d116d74f707e88175e0733 /framework/qml/FolderListView.qml | |
parent | 72a9eeb01cdfd4f0ee5dbffcd3fe083897d8a390 (diff) | |
download | kube-a301d1db33fdecb0e66495b51019922a9b040c1f.tar.gz kube-a301d1db33fdecb0e66495b51019922a9b040c1f.zip |
Conversation view keyboard navigation
Diffstat (limited to 'framework/qml/FolderListView.qml')
-rw-r--r-- | framework/qml/FolderListView.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/qml/FolderListView.qml b/framework/qml/FolderListView.qml index 3a203083..221ec31c 100644 --- a/framework/qml/FolderListView.qml +++ b/framework/qml/FolderListView.qml | |||
@@ -27,6 +27,16 @@ Kube.TreeView { | |||
27 | id: root | 27 | id: root |
28 | property variant accountId | 28 | property variant accountId |
29 | 29 | ||
30 | Kube.Listener { | ||
31 | filter: Kube.Messages.selectNextFolder | ||
32 | onMessageReceived: root.selectNext() | ||
33 | } | ||
34 | |||
35 | Kube.Listener { | ||
36 | filter: Kube.Messages.selectPreviousFolder | ||
37 | onMessageReceived: root.selectPrevious() | ||
38 | } | ||
39 | |||
30 | Controls1.TableViewColumn { | 40 | Controls1.TableViewColumn { |
31 | title: "Name" | 41 | title: "Name" |
32 | role: "name" | 42 | role: "name" |