Commit d0dd71ba authored by DonLakeFlyer's avatar DonLakeFlyer

After a remove all leave map position/zoom alone

parent 1d444d01
...@@ -138,7 +138,9 @@ QGCView { ...@@ -138,7 +138,9 @@ QGCView {
} }
onNewItemsFromVehicle: { onNewItemsFromVehicle: {
if (_visualItems && _visualItems.count != 1) {
mapFitFunctions.fitMapViewportToMissionItems() mapFitFunctions.fitMapViewportToMissionItems()
}
setCurrentItem(0) setCurrentItem(0)
_firstMissionLoadComplete = true _firstMissionLoadComplete = true
checkFirstLoadComplete() 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