Skip to content

Commit

Permalink
qml: Add support for Numpad Enter key in authentication (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hcode00 authored Nov 28, 2024
1 parent d94cbab commit b2cdeba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2cdeba

Please sign in to comment.