summaryrefslogtreecommitdiffstats
path: root/framework/qml/FolderListView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-17 23:13:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-17 23:13:41 +0200
commit0ad2650fd4084c7c7518b80d0f2d3f1275d89f28 (patch)
treebc6b08c002cf3a9280500a8820e258ac0ce2a975 /framework/qml/FolderListView.qml
parent8bac76742270829a0e8753eb53a1cc7384dda323 (diff)
downloadkube-0ad2650fd4084c7c7518b80d0f2d3f1275d89f28.tar.gz
kube-0ad2650fd4084c7c7518b80d0f2d3f1275d89f28.zip
Always select the first index (INBOX) in the folderlist initially.
Diffstat (limited to 'framework/qml/FolderListView.qml')
-rw-r--r--framework/qml/FolderListView.qml6
1 files changed, 0 insertions, 6 deletions
diff --git a/framework/qml/FolderListView.qml b/framework/qml/FolderListView.qml
index 221ec31c..bf1f52e5 100644
--- a/framework/qml/FolderListView.qml
+++ b/framework/qml/FolderListView.qml
@@ -74,10 +74,4 @@ Kube.TreeView {
74 accountId: root.accountId 74 accountId: root.accountId
75 } 75 }
76 76
77 onActivated: {
78 //TODO do some event compression in case of double clicks
79 model.fetchMore(index);
80 Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject),
81 "trash": model.data(index, Kube.FolderListModel.Trash)});
82 }
83} 77}