adding enter key event for logging in in pw textfield

This commit is contained in:
Wayne Chen 2018-06-29 16:13:02 -07:00
parent fa29bb537f
commit 2c32dc1cf5
2 changed files with 4 additions and 0 deletions

View file

@ -135,6 +135,8 @@ Item {
placeholderText: qsTr("Password")
echoMode: TextInput.Password
Keys.onReturnPressed: linkAccountBody.login()
}
}

View file

@ -177,6 +177,8 @@ Item {
root.text = "";
root.isPassword = true;
}
Keys.onReturnPressed: linkAccountBody.login()
}
CheckBox {