Browse Source

Show Follow Vehicle checkbox on Fly view

QGC4.4
Don Gagne 8 years ago
parent
commit
9359f581b8
  1. 4
      src/FlightDisplay/FlightDisplayViewMap.qml
  2. 2
      src/FlightMap/Widgets/CenterMapDropPanel.qml

4
src/FlightDisplay/FlightDisplayViewMap.qml

@ -141,6 +141,10 @@ FlightMap {
CenterMapDropPanel { CenterMapDropPanel {
map: _flightMap map: _flightMap
fitFunctions: mapFitFunctions fitFunctions: mapFitFunctions
showFollowVehicle: true
followVehicle: _followVehicle
onFollowVehicleChanged: _followVehicle = followVehicle
} }
} }

2
src/FlightMap/Widgets/CenterMapDropPanel.qml

@ -97,7 +97,7 @@ ColumnLayout {
onClicked: { onClicked: {
dropPanel.hide() dropPanel.hide()
_root.followVehicle = checked root.followVehicle = checked
} }
} }
} // Column } // Column

Loading…
Cancel
Save