diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 8537dba2..cc149e66 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml | |||
@@ -91,10 +91,12 @@ Controls2.ApplicationWindow { | |||
91 | //Controller | 91 | //Controller |
92 | Kube.FolderController { | 92 | Kube.FolderController { |
93 | id: folderController | 93 | id: folderController |
94 | Binding on folder { | 94 | } |
95 | //!! checks for the availability of the type | 95 | Kube.Listener { |
96 | when: !!folderListView.currentFolder | 96 | id: controllerListener |
97 | value: folderListView.currentFolder | 97 | filter: Kube.Messages.folderSelection |
98 | onMessageReceived: { | ||
99 | folderController.folder = message.folder | ||
98 | } | 100 | } |
99 | } | 101 | } |
100 | 102 | ||
@@ -266,7 +268,6 @@ Controls2.ApplicationWindow { | |||
266 | 268 | ||
267 | Kube.MailListView { | 269 | Kube.MailListView { |
268 | id: mailListView | 270 | id: mailListView |
269 | parentFolder: accountFolderview.currentFolder | ||
270 | width: Kube.Units.gridUnit * 20 | 271 | width: Kube.Units.gridUnit * 20 |
271 | height: parent.height | 272 | height: parent.height |
272 | Layout.maximumWidth: app.width * 0.4 | 273 | Layout.maximumWidth: app.width * 0.4 |
@@ -276,10 +277,7 @@ Controls2.ApplicationWindow { | |||
276 | 277 | ||
277 | Kube.ConversationView { | 278 | Kube.ConversationView { |
278 | id: mailView | 279 | id: mailView |
279 | mail: mailListView.currentMail | ||
280 | Layout.fillWidth: true | 280 | Layout.fillWidth: true |
281 | hideTrash: !accountFolderview.isTrashFolder | ||
282 | hideNonTrash: accountFolderview.isTrashFolder | ||
283 | } | 281 | } |
284 | } | 282 | } |
285 | } | 283 | } |