summaryrefslogtreecommitdiff
path: root/pages/ConfirmPassword.qml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/ConfirmPassword.qml')
-rw-r--r--pages/ConfirmPassword.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/ConfirmPassword.qml b/pages/ConfirmPassword.qml
index 3e1df7a..92543ce 100644
--- a/pages/ConfirmPassword.qml
+++ b/pages/ConfirmPassword.qml
@@ -10,6 +10,11 @@ PasswordForm {
emailAddressLabel.text: User.name
passTextField.placeholderText: qsTr("Re-enter Password")
+ passTextField.onTextChanged: {
+ if (!passTextField.text || !createPassButton.enabled)
+ createPassButton.enabled = !createPassButton.enabled
+ }
+
createPassButton {
text: qsTr("Confirm password")
onClicked: {