summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 20:43:41 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 20:43:41 +0800
commit51d99bd3d451ffd42190bc7a0a8a85215a7454b6 (patch)
tree3d2badcc2937b12bc35c8a435a08ff233981fd83
parent6f35c27b3d4343f22f65955c5d63cae03cb76c3d (diff)
Put password text related attribute setting together
-rw-r--r--pages/ConfirmPassword.qml10
1 files changed, 6 insertions, 4 deletions
diff --git a/pages/ConfirmPassword.qml b/pages/ConfirmPassword.qml
index 92543ce..e13b53d 100644
--- a/pages/ConfirmPassword.qml
+++ b/pages/ConfirmPassword.qml
@@ -8,11 +8,13 @@ PasswordForm {
userEmail.y: 292
instructionLabel.text: qsTr("Re-Enter password")
emailAddressLabel.text: User.name
- passTextField.placeholderText: qsTr("Re-enter Password")
- passTextField.onTextChanged: {
- if (!passTextField.text || !createPassButton.enabled)
- createPassButton.enabled = !createPassButton.enabled
+ passTextField {
+ placeholderText: qsTr("Re-enter Password")
+ onTextChanged: {
+ if (!passTextField.text || !createPassButton.enabled)
+ createPassButton.enabled = !createPassButton.enabled
+ }
}
createPassButton {