summaryrefslogtreecommitdiffstats
path: root/framework/qml/ConversationView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/ConversationView.qml')
-rw-r--r--framework/qml/ConversationView.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/framework/qml/ConversationView.qml b/framework/qml/ConversationView.qml
index bdcd0aa0..85712a5a 100644
--- a/framework/qml/ConversationView.qml
+++ b/framework/qml/ConversationView.qml
@@ -37,6 +37,22 @@ Rectangle {
37 property bool hideTrash: true; 37 property bool hideTrash: true;
38 property bool hideNonTrash: false; 38 property bool hideNonTrash: false;
39 39
40
41 Kube.Listener {
42 filter: Kube.Messages.mailSelection
43 onMessageReceived: {
44 root.mail = message.mail
45 }
46 }
47
48 Kube.Listener {
49 filter: Kube.Messages.folderSelection
50 onMessageReceived: {
51 root.hideTrash = !message.trash
52 root.hideNonTrash = message.trash
53 }
54 }
55
40 onCurrentIndexChanged: { 56 onCurrentIndexChanged: {
41 markAsReadTimer.restart(); 57 markAsReadTimer.restart();
42 } 58 }