Commit a383c8a4 authored by Don Gagne's avatar Don Gagne

Fix vehicle reference

parent e1ab5d56
......@@ -112,7 +112,7 @@ FlightMap {
// GoTo here waypoint
MapQuickItem {
coordinate: _gotoHereCoordinate
visible: _vehicle.guidedMode && _gotoHereCoordinate.isValid
visible: _activeVehicle && _activeVehicle.guidedMode && _gotoHereCoordinate.isValid
z: QGroundControl.zOrderMapItems
anchorPoint.x: sourceItem.width / 2
anchorPoint.y: sourceItem.height / 2
......
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