fix(@desktop/onboarding):

Allow to click enter when generating a new account and clicking enter
Error was:
qrc:/onboarding/CreatePasswordModal.qml:53: Error: Insufficient arguments
This commit is contained in:
Anthony Laibe 2021-07-26 10:11:01 +02:00 committed by Iuri Matias
parent 75c986cc77
commit 92fddb70bc
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ ModalPopup {
//% "Confirm password"
placeholderText: qsTrId("confirm-password…")
textField.echoMode: TextInput.Password
Keys.onReturnPressed: {
submitBtn.clicked()
Keys.onReturnPressed: function(event) {
submitBtn.clicked(event)
}
onTextChanged: {
[repeatPasswordFieldValid, repeatPasswordValidationError] =