summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/qml/InlineAccountSwitcher.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml
index 4131b971..65b13ece 100644
--- a/framework/qml/InlineAccountSwitcher.qml
+++ b/framework/qml/InlineAccountSwitcher.qml
@@ -22,7 +22,13 @@ import org.kube.framework 1.0 as Kube
22 22
23FocusScope { 23FocusScope {
24 id: root 24 id: root
25 property string currentAccount: null 25 property string currentAccount
26 onCurrentAccountChanged: {
27 if (!!currentAccount) {
28 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": currentAccount});
29 }
30
31 }
26 32
27 ColumnLayout { 33 ColumnLayout {
28 anchors.fill: parent 34 anchors.fill: parent