From 52f266ecbd34ce298a4bce93992ffbb631ae90f8 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 9 Sep 2017 15:36:50 +0200 Subject: Centralized synchronization calls --- framework/qml/InlineAccountSwitcher.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'framework/qml/InlineAccountSwitcher.qml') 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 { id: root property string currentAccount onCurrentAccountChanged: { - if (!!currentAccount) { - Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": currentAccount}); - } - + Kube.Fabric.postMessage(Kube.Messages.accountSelection, {"account": currentAccount}); } ColumnLayout { -- cgit v1.2.3