summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-08 11:55:47 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-08 11:55:47 +0200
commit1913df64d2d9a19f1e0e7ae92a4e90c95e17d777 (patch)
treedb45a6dbd75cffb9fbc01b9a25874a7ac34c0117
parent4a5c01f6407acb94ecd10173279902fdcb850ad9 (diff)
downloadkube-1913df64d2d9a19f1e0e7ae92a4e90c95e17d777.tar.gz
kube-1913df64d2d9a19f1e0e7ae92a4e90c95e17d777.zip
Close the settings after changing the password.
-rw-r--r--framework/qml/EditAccount.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml
index df567e5a..68559d99 100644
--- a/framework/qml/EditAccount.qml
+++ b/framework/qml/EditAccount.qml
@@ -81,7 +81,10 @@ Item {
81 Kube.Button { 81 Kube.Button {
82 anchors.right: parent.right 82 anchors.right: parent.right
83 text: qsTr("Change Password") 83 text: qsTr("Change Password")
84 onClicked: Kube.Fabric.postMessage(Kube.Messages.requestLogin, {}) 84 onClicked: {
85 Kube.Fabric.postMessage(Kube.Messages.componentDone, {})
86 Kube.Fabric.postMessage(Kube.Messages.requestLogin, {})
87 }
85 } 88 }
86 } 89 }
87 90