summaryrefslogtreecommitdiffstats
path: root/framework/qml/FolderListView.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 09:20:09 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 11:08:29 -0600
commit195d5ca8aca4b82827240609d3a62b77df11939f (patch)
tree93b286ce9a78a622da82a6e86568b2046ebba8b0 /framework/qml/FolderListView.qml
parente21bcc3708824692447e606cb3df54dd7f42f7f3 (diff)
downloadkube-195d5ca8aca4b82827240609d3a62b77df11939f.tar.gz
kube-195d5ca8aca4b82827240609d3a62b77df11939f.zip
currentIndex is not defined
Diffstat (limited to 'framework/qml/FolderListView.qml')
-rw-r--r--framework/qml/FolderListView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/FolderListView.qml b/framework/qml/FolderListView.qml
index 5e2f41fc..ece6f280 100644
--- a/framework/qml/FolderListView.qml
+++ b/framework/qml/FolderListView.qml
@@ -39,7 +39,7 @@ Kube.TreeView {
39 39
40 onActivated: { 40 onActivated: {
41 //TODO do some event compression in case of double clicks 41 //TODO do some event compression in case of double clicks
42 model.fetchMore(currentIndex); 42 model.fetchMore(index);
43 Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject), 43 Kube.Fabric.postMessage(Kube.Messages.folderSelection, {"folder": model.data(index, Kube.FolderListModel.DomainObject),
44 "trash": model.data(index, Kube.FolderListModel.Trash)}); 44 "trash": model.data(index, Kube.FolderListModel.Trash)});
45 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"folder": model.data(index, Kube.FolderListModel.DomainObject)}); 45 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"folder": model.data(index, Kube.FolderListModel.DomainObject)});