summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-23 11:56:11 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-23 12:04:40 -0600
commit342b451de8f6623bd5d092015c50f39bbde05b30 (patch)
treef62840bdfda7858ee87ad4f8084910ba3ad08363
parent01eafe06fbfc0610705a7bb08f97aab20fe7ec9c (diff)
downloadkube-342b451de8f6623bd5d092015c50f39bbde05b30.tar.gz
kube-342b451de8f6623bd5d092015c50f39bbde05b30.zip
Trigger sync and close settings when saving changes to an account.
-rw-r--r--framework/qml/EditAccount.qml3
1 files changed, 2 insertions, 1 deletions
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 {
124 text: qsTr("Save") 124 text: qsTr("Save")
125 onClicked: { 125 onClicked: {
126 loader.item.save() 126 loader.item.save()
127 //TODO Feedback that the settings have been saved (popup notification/animation?) 127 Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier});
128 Kube.Fabric.postMessage(Kube.Messages.componentDone, {})
128 } 129 }
129 } 130 }
130 } 131 }