From b2cdeba9a49dc20a78eba256c1ffb4ea17d679f4 Mon Sep 17 00:00:00 2001 From: Hazem Ahmed <108131272+Hcode00@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:44:14 -0800 Subject: [PATCH] qml: Add support for Numpad Enter key in authentication (#15) --- qml/main.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qml/main.qml b/qml/main.qml index 2757650..3966ea5 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -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