Commit 7b2f3706 authored by Pritam Ghanghas's avatar Pritam Ghanghas

Fixed map centring buttons in flight view and flight editor.

parent 5819709f
......@@ -233,8 +233,7 @@ Item {
onClicked: {
_dropButtonsExclusiveGroup.current = null
_flightMap.latitude = activeVehicle.latitude
_flightMap.longitude = activeVehicle.longitude
_flightMap.center = activeVehicle.coordinate
}
}
}
......
......@@ -502,8 +502,7 @@ QGCView {
onClicked: {
centerMapButton.hideDropDown()
editorMap.latitude = activeVehicle.latitude
editorMap.longitude = activeVehicle.longitude
editorMap.center = activeVehicle.coordinate
}
}
}
......
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