Browse Source

Don't trigger off isGuidedMode

QGC4.4
DonLakeFlyer 8 years ago
parent
commit
6ef825e859
  1. 2
      src/FlightDisplay/FlightDisplayViewMap.qml
  2. 2
      src/FlightDisplay/GuidedActionsController.qml

2
src/FlightDisplay/FlightDisplayViewMap.qml

@ -261,7 +261,7 @@ FlightMap { @@ -261,7 +261,7 @@ FlightMap {
// GoTo here waypoint
MapQuickItem {
coordinate: _gotoHereCoordinate
visible: _activeVehicle && _activeVehicle.guidedMode && _gotoHereCoordinate.isValid
visible: _activeVehicle && _activeVehicle.guidedModeSupported && _gotoHereCoordinate.isValid
z: QGroundControl.zOrderMapItems
anchorPoint.x: sourceItem.anchorPointX
anchorPoint.y: sourceItem.anchorPointY

2
src/FlightDisplay/GuidedActionsController.qml

@ -101,7 +101,7 @@ Item { @@ -101,7 +101,7 @@ Item {
property bool showChangeAlt: (_activeVehicle && _vehicleFlying) && _activeVehicle.guidedModeSupported && _vehicleArmed && !_missionActive
property bool showOrbit: !_hideOrbit && _activeVehicle && _vehicleFlying && _activeVehicle.orbitModeSupported && _vehicleArmed && !_missionActive
property bool showLandAbort: _activeVehicle && _vehicleFlying && _activeVehicle.fixedWing && _vehicleLanding
property bool showGotoLocation: _activeVehicle && _activeVehicle.guidedMode && _vehicleFlying
property bool showGotoLocation: _activeVehicle && _vehicleFlying
property bool guidedUIVisible: guidedActionConfirm.visible || guidedActionList.visible

Loading…
Cancel
Save