Browse Source

Merge pull request #4663 from DonLakeFlyer/FollowVehicle

Show Follow Vehicle checkbox on Fly view
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
2a9be30ab5
  1. 8
      src/FlightDisplay/FlightDisplayViewMap.qml
  2. 2
      src/FlightMap/Widgets/CenterMapDropPanel.qml

8
src/FlightDisplay/FlightDisplayViewMap.qml

@ -139,8 +139,12 @@ FlightMap { @@ -139,8 +139,12 @@ FlightMap {
id: centerMapDropPanel
CenterMapDropPanel {
map: _flightMap
fitFunctions: mapFitFunctions
map: _flightMap
fitFunctions: mapFitFunctions
showFollowVehicle: true
followVehicle: _followVehicle
onFollowVehicleChanged: _followVehicle = followVehicle
}
}

2
src/FlightMap/Widgets/CenterMapDropPanel.qml

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

Loading…
Cancel
Save