summaryrefslogtreecommitdiffstats
path: root/framework/qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml')
-rw-r--r--framework/qml/LoginAccount.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/LoginAccount.qml b/framework/qml/LoginAccount.qml
index f02050ae..261746d5 100644
--- a/framework/qml/LoginAccount.qml
+++ b/framework/qml/LoginAccount.qml
@@ -26,10 +26,12 @@ Item {
26 property string accountId 26 property string accountId
27 property bool canRemove: true 27 property bool canRemove: true
28 28
29 signal done()
30
29 function login() { 31 function login() {
30 loader.item.login() 32 loader.item.login()
31 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier}); 33 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier});
32 Kube.Fabric.postMessage(Kube.Messages.componentDone, {}) 34 root.done()
33 } 35 }
34 36
35 Kube.AccountFactory { 37 Kube.AccountFactory {