Commit 8ed29860 authored by Beat Küng's avatar Beat Küng

QGCViewDialog: accept the numlock enter key in addition to the return key

helpful for example when editing parameters
parent dcc977c4
...@@ -31,7 +31,7 @@ FactPanel { ...@@ -31,7 +31,7 @@ FactPanel {
if (event.key == Qt.Key_Escape) { if (event.key == Qt.Key_Escape) {
reject() reject()
event.accepted = true event.accepted = true
} else if (event.key == Qt.Key_Return) { } else if (event.key == Qt.Key_Return || event.key == Qt.Key_Enter) {
accept() accept()
event.accepted = true event.accepted = true
} }
......
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