qml: Add support for Numpad Enter key in authentication (#15)

This commit is contained in:
Hazem Ahmed 2024-11-28 15:44:14 -08:00 committed by GitHub
parent d94cbabd3d
commit b2cdeba9a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,6 +38,9 @@ ApplicationWindow {
Keys.onReturnPressed: (e) => {
hpa.setResult("auth:" + passwordField.text);
}
Keys.onEnterPressed: (e) => {
hpa.setResult("auth:" + passwordField.text);
}
ColumnLayout {
anchors.fill: parent