summaryrefslogtreecommitdiffstats
path: root/framework/qml/FolderListView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/FolderListView.qml')
-rw-r--r--framework/qml/FolderListView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/qml/FolderListView.qml b/framework/qml/FolderListView.qml
index 1455be21..734e6e10 100644
--- a/framework/qml/FolderListView.qml
+++ b/framework/qml/FolderListView.qml
@@ -29,6 +29,7 @@ Rectangle {
29 29
30 property variant currentFolder: null 30 property variant currentFolder: null
31 property variant accountId 31 property variant accountId
32 property bool isTrashFolder: false
32 33
33 color: Kube.Colors.textColor 34 color: Kube.Colors.textColor
34 35
@@ -77,6 +78,7 @@ Rectangle {
77 onCurrentIndexChanged: { 78 onCurrentIndexChanged: {
78 model.fetchMore(currentIndex) 79 model.fetchMore(currentIndex)
79 root.currentFolder = model.data(currentIndex, Kube.FolderListModel.DomainObject) 80 root.currentFolder = model.data(currentIndex, Kube.FolderListModel.DomainObject)
81 root.isTrashFolder = model.data(currentIndex, Kube.FolderListModel.Trash)
80 folderController.synchronizeAction.execute() 82 folderController.synchronizeAction.execute()
81 } 83 }
82 84