diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-16 22:18:02 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-16 22:18:02 +0200 |
commit | ec48ea0cf01d306c0a9283e485f8c37d7d4d1ebd (patch) | |
tree | 4c3a4ef28fa7aaf32968d06b4fa4244181b8f521 /framework/qml/FolderListView.qml | |
parent | ef8a9f2f1d9f91358541b83fab63603aa3001bff (diff) | |
download | kube-ec48ea0cf01d306c0a9283e485f8c37d7d4d1ebd.tar.gz kube-ec48ea0cf01d306c0a9283e485f8c37d7d4d1ebd.zip |
Hide trash from non-trash conversations.
...and indicate in the conversation view if a mail has been sent or is a
draft.
Diffstat (limited to 'framework/qml/FolderListView.qml')
-rw-r--r-- | framework/qml/FolderListView.qml | 2 |
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 | ||