diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-21 10:46:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-21 10:46:08 +0200 |
commit | 0b973d5af8a33e9542c8364dfb3ae59ace64821b (patch) | |
tree | eb1f39147b53ad2de79a36ef8e85eccfab12f4bc /views/composer/qml/View.qml | |
parent | dc96f518d20f1438f6b5e1023bf3bb17d3cf7998 (diff) | |
download | kube-0b973d5af8a33e9542c8364dfb3ae59ace64821b.tar.gz kube-0b973d5af8a33e9542c8364dfb3ae59ace64821b.zip |
Use the refresh signal
Diffstat (limited to 'views/composer/qml/View.qml')
-rw-r--r-- | views/composer/qml/View.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/composer/qml/View.qml b/views/composer/qml/View.qml index 9e390156..35775d9e 100644 --- a/views/composer/qml/View.qml +++ b/views/composer/qml/View.qml | |||
@@ -52,6 +52,9 @@ Kube.View { | |||
52 | 52 | ||
53 | onSetup: { | 53 | onSetup: { |
54 | loadMessage(root.message, root.loadType) | 54 | loadMessage(root.message, root.loadType) |
55 | } | ||
56 | |||
57 | onRefresh: { | ||
55 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "mail", "specialPurpose": "drafts"}) | 58 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "mail", "specialPurpose": "drafts"}) |
56 | //For autocompletion | 59 | //For autocompletion |
57 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contacts"}) | 60 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contacts"}) |