diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 09:20:09 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-26 11:08:29 -0600 |
commit | 195d5ca8aca4b82827240609d3a62b77df11939f (patch) | |
tree | 93b286ce9a78a622da82a6e86568b2046ebba8b0 /framework/qml/FolderListView.qml | |
parent | e21bcc3708824692447e606cb3df54dd7f42f7f3 (diff) | |
download | kube-195d5ca8aca4b82827240609d3a62b77df11939f.tar.gz kube-195d5ca8aca4b82827240609d3a62b77df11939f.zip |
currentIndex is not defined
Diffstat (limited to 'framework/qml/FolderListView.qml')
-rw-r--r-- | framework/qml/FolderListView.qml | 2 |
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)}); |