Skip to content

Commit b2cdeba

Browse files
authored
qml: Add support for Numpad Enter key in authentication (#15)
1 parent d94cbab commit b2cdeba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qml/main.qml

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ ApplicationWindow {
3838
Keys.onReturnPressed: (e) => {
3939
hpa.setResult("auth:" + passwordField.text);
4040
}
41+
Keys.onEnterPressed: (e) => {
42+
hpa.setResult("auth:" + passwordField.text);
43+
}
4144

4245
ColumnLayout {
4346
anchors.fill: parent

0 commit comments

Comments
 (0)