diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-16 20:16:21 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-16 20:16:21 +0100 |
commit | e5677f045f4dd57de869798aa6285bcb6736aea1 (patch) | |
tree | cd6c7c1baec1e369c3d3a4b6aca9b5e1872357fe | |
parent | 636c802a4aa7b89af9bb411f9465899c4e182c8a (diff) | |
download | kube-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.qml | 2 | ||||
-rw-r--r-- | components/package/contents/ui/SingleMailView.qml | 2 |
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") |