summaryrefslogtreecommitdiffstats
path: root/components/accounts/contents/ui/AccountWizardPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/accounts/contents/ui/AccountWizardPage.qml')
-rw-r--r--components/accounts/contents/ui/AccountWizardPage.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/components/accounts/contents/ui/AccountWizardPage.qml b/components/accounts/contents/ui/AccountWizardPage.qml
index 07fbc73f..e77f0cd9 100644
--- a/components/accounts/contents/ui/AccountWizardPage.qml
+++ b/components/accounts/contents/ui/AccountWizardPage.qml
@@ -28,6 +28,7 @@ import org.kube.framework 1.0 as Kube
28Item { 28Item {
29 id: root 29 id: root
30 property string accountType 30 property string accountType
31 signal done()
31 32
32 Kube.AccountFactory { 33 Kube.AccountFactory {
33 id: accountFactory 34 id: accountFactory
@@ -118,7 +119,7 @@ Item {
118 119
119 text: "Discard" 120 text: "Discard"
120 onClicked: { 121 onClicked: {
121 popup.close() 122 root.done()
122 } 123 }
123 } 124 }
124 125
@@ -131,7 +132,10 @@ Item {
131 text: "Save" 132 text: "Save"
132 onClicked: { 133 onClicked: {
133 loader.item.save() 134 loader.item.save()
134 popup.close() 135
136 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier});
137
138 root.done()
135 } 139 }
136 } 140 }
137 } 141 }