Commit 0dafdc26 authored by Samuel Dionne-Riel's avatar Samuel Dionne-Riel Committed by Bhushan Shah
Browse files

lockscreen: Accept pin on numpad enter


(cherry picked from commit ff6141dc)
parent 1441a709
......@@ -124,7 +124,7 @@ Rectangle {
if (event.modifiers === Qt.NoModifier) {
if (event.key === Qt.Key_Backspace) {
keypadRoot.backspace();
} else if (event.key === Qt.Key_Return) {
} else if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
keypadRoot.enter();
} else if (event.text != "") {
keypadRoot.keyPress(event.text);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment