From 134ebc6d8e7e1cc73f1bffccf4e4dfa01c8ced21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 12 Sep 2019 20:55:11 +0800 Subject: Works without braces --- pages/ConfirmPassword.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/ConfirmPassword.qml b/pages/ConfirmPassword.qml index e13b53d..614891c 100644 --- a/pages/ConfirmPassword.qml +++ b/pages/ConfirmPassword.qml @@ -11,10 +11,9 @@ PasswordForm { passTextField { placeholderText: qsTr("Re-enter Password") - onTextChanged: { + onTextChanged: if (!passTextField.text || !createPassButton.enabled) createPassButton.enabled = !createPassButton.enabled - } } createPassButton { -- cgit v1.2.3