Commit 42f66b83 authored by DonLakeFlyer's avatar DonLakeFlyer

Take focus to close editing

parent dc02d007
......@@ -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) {
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