From 8ed298602dd681206166b0c6ce01d8d5ec993b95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 19 Sep 2017 10:43:16 +0200 Subject: [PATCH] QGCViewDialog: accept the numlock enter key in addition to the return key helpful for example when editing parameters --- src/QmlControls/QGCViewDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QmlControls/QGCViewDialog.qml b/src/QmlControls/QGCViewDialog.qml index f8d144356..5e6b7044d 100644 --- a/src/QmlControls/QGCViewDialog.qml +++ b/src/QmlControls/QGCViewDialog.qml @@ -31,7 +31,7 @@ FactPanel { if (event.key == Qt.Key_Escape) { reject() event.accepted = true - } else if (event.key == Qt.Key_Return) { + } else if (event.key == Qt.Key_Return || event.key == Qt.Key_Enter) { accept() event.accepted = true } -- 2.22.0