summaryrefslogtreecommitdiffstats
path: root/framework/qml/ConversationListView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-09 12:42:54 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-09 12:42:54 +0200
commitbb4be57d21a47f9d975edd2beb9578e0f54b83df (patch)
tree34bb8c595c8cf3d397ae7742fa71b19c8894c047 /framework/qml/ConversationListView.qml
parentde82b132907110a884239709dea43e08867501d8 (diff)
downloadkube-bb4be57d21a47f9d975edd2beb9578e0f54b83df.tar.gz
kube-bb4be57d21a47f9d975edd2beb9578e0f54b83df.zip
Added scrolling shortcuts
Diffstat (limited to 'framework/qml/ConversationListView.qml')
-rw-r--r--framework/qml/ConversationListView.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/qml/ConversationListView.qml b/framework/qml/ConversationListView.qml
index 1d408edc..c84bbf6d 100644
--- a/framework/qml/ConversationListView.qml
+++ b/framework/qml/ConversationListView.qml
@@ -37,6 +37,14 @@ FocusScope {
37 37
38 property var currentItem: null 38 property var currentItem: null
39 39
40 function scrollDown() {
41 scrollHelper.scrollDown()
42 }
43
44 function scrollUp() {
45 scrollHelper.scrollUp()
46 }
47
40 function setCurrentItem() { 48 function setCurrentItem() {
41 if (currentItem) { 49 if (currentItem) {
42 currentItem.isCurrentItem = false 50 currentItem.isCurrentItem = false