diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-09 15:36:50 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-11 22:05:01 +0200 |
commit | 52f266ecbd34ce298a4bce93992ffbb631ae90f8 (patch) | |
tree | f88a5ee9ed73ab4e1198922b11ef686aa1b2cd38 /framework/qml/InlineAccountSwitcher.qml | |
parent | 8cc06cd3f333e2e0152a931103d8bd1c9d7e8cd1 (diff) | |
download | kube-52f266ecbd34ce298a4bce93992ffbb631ae90f8.tar.gz kube-52f266ecbd34ce298a4bce93992ffbb631ae90f8.zip |
Centralized synchronization calls
Diffstat (limited to 'framework/qml/InlineAccountSwitcher.qml')
-rw-r--r-- | framework/qml/InlineAccountSwitcher.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml index 511c38db..354150a5 100644 --- a/framework/qml/InlineAccountSwitcher.qml +++ b/framework/qml/InlineAccountSwitcher.qml | |||
@@ -24,10 +24,7 @@ FocusScope { | |||
24 | id: root | 24 | id: root |
25 | property string currentAccount | 25 | property string currentAccount |
26 | onCurrentAccountChanged: { | 26 | onCurrentAccountChanged: { |
27 | if (!!currentAccount) { | 27 | Kube.Fabric.postMessage(Kube.Messages.accountSelection, {"account": currentAccount}); |
28 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": currentAccount}); | ||
29 | } | ||
30 | |||
31 | } | 28 | } |
32 | 29 | ||
33 | ColumnLayout { | 30 | ColumnLayout { |