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 { @@ -141,6 +141,10 @@ FlightMap {
CenterMapDropPanel {
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