diff options
Diffstat (limited to 'pages/Password.qml')
-rw-r--r-- | pages/Password.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/Password.qml b/pages/Password.qml index 2464af0..0b042c5 100644 --- a/pages/Password.qml +++ b/pages/Password.qml @@ -7,6 +7,11 @@ PasswordForm { backButton.onClicked: stackView.pop() emailAddressLabel.text: User.name + passTextField.onTextChanged: { + if (!passTextField.text || !createPassButton.enabled) + createPassButton.enabled = !createPassButton.enabled + } + createPassButton.onClicked: { User.password = passTextField.text stackView.push("qrc:/pages/ConfirmPassword.qml") |