From 342b451de8f6623bd5d092015c50f39bbde05b30 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 23 Aug 2017 11:56:11 -0600 Subject: Trigger sync and close settings when saving changes to an account. --- framework/qml/EditAccount.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml index f4870225..03bf2dea 100644 --- a/framework/qml/EditAccount.qml +++ b/framework/qml/EditAccount.qml @@ -124,7 +124,8 @@ Item { text: qsTr("Save") onClicked: { loader.item.save() - //TODO Feedback that the settings have been saved (popup notification/animation?) + Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier}); + Kube.Fabric.postMessage(Kube.Messages.componentDone, {}) } } } -- cgit v1.2.3