diff options
Diffstat (limited to 'components/mail/contents/ui/Mail.qml')
-rw-r--r-- | components/mail/contents/ui/Mail.qml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/components/mail/contents/ui/Mail.qml b/components/mail/contents/ui/Mail.qml index b88e846d..c400d8f3 100644 --- a/components/mail/contents/ui/Mail.qml +++ b/components/mail/contents/ui/Mail.qml | |||
@@ -84,12 +84,20 @@ Controls2.ApplicationWindow { | |||
84 | //Controller | 84 | //Controller |
85 | KubeFramework.MailController { | 85 | KubeFramework.MailController { |
86 | id: mailController | 86 | id: mailController |
87 | threadLeader: mailListView.currentMail | 87 | Binding on threadLeader { |
88 | //!! checks for the availability of the type | ||
89 | when: !!mailListView.currentMail | ||
90 | value: mailListView.currentMail | ||
91 | } | ||
88 | } | 92 | } |
89 | 93 | ||
90 | KubeFramework.FolderController { | 94 | KubeFramework.FolderController { |
91 | id: folderController | 95 | id: folderController |
92 | folder: folderListView.currentFolder | 96 | Binding on folder { |
97 | //!! checks for the availability of the type | ||
98 | when: !!folderListView.currentFolder | ||
99 | value: folderListView.currentFolder | ||
100 | } | ||
93 | } | 101 | } |
94 | 102 | ||
95 | //BEGIN Shortcuts | 103 | //BEGIN Shortcuts |