diff --git a/src/FlightDisplay/FlightDisplayViewMap.qml b/src/FlightDisplay/FlightDisplayViewMap.qml index 2a174f943a667896e366f07cd3eee9444b5681dd..fd1fbe74ecc2a2b2f4c5b1c743dc93a84331df3d 100644 --- a/src/FlightDisplay/FlightDisplayViewMap.qml +++ b/src/FlightDisplay/FlightDisplayViewMap.qml @@ -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