diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-30 22:49:16 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-01 10:36:32 +0200 |
commit | 4e416d546a68513f05ef10d41d05e0a9c6d5ecf6 (patch) | |
tree | 258a6c2b95bfbc4526f5f7cabc5a95b989c40a87 /framework/qml | |
parent | 5d7217c8e18f4a1c4cc942a71bc960d80a171760 (diff) | |
download | kube-4e416d546a68513f05ef10d41d05e0a9c6d5ecf6.tar.gz kube-4e416d546a68513f05ef10d41d05e0a9c6d5ecf6.zip |
Trigger a sync when opening the addressbook
Diffstat (limited to 'framework/qml')
-rw-r--r-- | framework/qml/People.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/qml/People.qml b/framework/qml/People.qml index d51c9d80..e8a4fca3 100644 --- a/framework/qml/People.qml +++ b/framework/qml/People.qml | |||
@@ -32,6 +32,11 @@ Kube.Popup { | |||
32 | property var currentContact | 32 | property var currentContact |
33 | 33 | ||
34 | modal: true | 34 | modal: true |
35 | onVisibleChanged: { | ||
36 | if (visible) { | ||
37 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "contacts"}); | ||
38 | } | ||
39 | } | ||
35 | 40 | ||
36 | Item { | 41 | Item { |
37 | id: peopleRoot | 42 | id: peopleRoot |