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
42f66b83
Commit
42f66b83
authored
Jan 31, 2018
by
DonLakeFlyer
Browse files
Take focus to close editing
parent
dc02d007
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PlanView/PlanView.qml
View file @
42f66b83
...
...
@@ -328,6 +328,9 @@ QGCView {
// than computing the coordinate offset.
anchors.fill
:
parent
onClicked
:
{
// Take focus to close any previous editing
editorMap
.
focus
=
true
//-- Don't pay attention to items beneath the toolbar.
var
topLimit
=
parent
.
height
-
ScreenTools
.
availableHeight
if
(
mouse
.
y
<
topLimit
)
{
...
...
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