summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-02-16 20:16:21 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-02-16 20:16:21 +0100
commite5677f045f4dd57de869798aa6285bcb6736aea1 (patch)
treecd6c7c1baec1e369c3d3a4b6aca9b5e1872357fe
parent636c802a4aa7b89af9bb411f9465899c4e182c8a (diff)
downloadkube-e5677f045f4dd57de869798aa6285bcb6736aea1.tar.gz
kube-e5677f045f4dd57de869798aa6285bcb6736aea1.zip
The singlemail view should operate on mails, the rest on threads.
-rw-r--r--components/mail/contents/ui/main.qml2
-rw-r--r--components/package/contents/ui/SingleMailView.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml
index 8ee1c794..eed80f55 100644
--- a/components/mail/contents/ui/main.qml
+++ b/components/mail/contents/ui/main.qml
@@ -84,7 +84,7 @@ Controls2.ApplicationWindow {
84 //Controller 84 //Controller
85 KubeFramework.MailController { 85 KubeFramework.MailController {
86 id: mailController 86 id: mailController
87 mail: mailListView.currentMail 87 threadLeader: mailListView.currentMail
88 } 88 }
89 89
90 KubeFramework.FolderController { 90 KubeFramework.FolderController {
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml
index 0ac223b1..8731e270 100644
--- a/components/package/contents/ui/SingleMailView.qml
+++ b/components/package/contents/ui/SingleMailView.qml
@@ -367,7 +367,7 @@ Rectangle {
367 367
368 KubeFramework.MailController { 368 KubeFramework.MailController {
369 id: mailController 369 id: mailController
370 threadLeader: model.mail 370 mail: model.mail
371 } 371 }
372 372
373 text: model.trash ? qsTr("Delete Mail") : qsTr("Move to trash") 373 text: model.trash ? qsTr("Delete Mail") : qsTr("Move to trash")