Commit 299a36aa authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4756 from DonLakeFlyer/RemoveAllMission

Plane: After a remove all leave map position/zoom alone
parents a36b8886 d0dd71ba
......@@ -138,7 +138,9 @@ QGCView {
}
onNewItemsFromVehicle: {
mapFitFunctions.fitMapViewportToMissionItems()
if (_visualItems && _visualItems.count != 1) {
mapFitFunctions.fitMapViewportToMissionItems()
}
setCurrentItem(0)
_firstMissionLoadComplete = true
checkFirstLoadComplete()
......
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