Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8ed29860
Commit
8ed29860
authored
Sep 19, 2017
by
Beat Küng
Browse files
QGCViewDialog: accept the numlock enter key in addition to the return key
helpful for example when editing parameters
parent
dcc977c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/QGCViewDialog.qml
View file @
8ed29860
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment