Commit 2b9c7c08 authored by Don Gagne's avatar Don Gagne

Workaround strange lost clicks possible Qt bug

parent 65a68c62
......@@ -253,8 +253,10 @@ QGCView {
}
function setCurrentItem(sequenceNumber) {
if (sequenceNumber !== _currentMissionIndex) {
editorMap.polygonDraw.cancelPolygonEdit()
_currentMissionItem = undefined
_currentMissionIndex = -1
for (var i=0; i<_visualItems.count; i++) {
var visualItem = _visualItems.get(i)
if (visualItem.sequenceNumber == sequenceNumber) {
......@@ -266,6 +268,7 @@ QGCView {
}
}
}
}
property int _moveDialogMissionItemIndex
......
......@@ -42,7 +42,6 @@ Rectangle {
MouseArea {
anchors.fill: parent
visible: !missionItem.isCurrentItem
onClicked: _root.clicked()
}
......
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