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 {
id: centerMapDropPanel id: centerMapDropPanel
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