Skip to content

Commit

Permalink
Merge pull request mavlink#4663 from DonLakeFlyer/FollowVehicle
Browse files Browse the repository at this point in the history
Show Follow Vehicle checkbox on Fly view
  • Loading branch information
DonLakeFlyer authored Mar 1, 2017
2 parents 77662ba + 9359f58 commit 2a9be30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/FlightDisplay/FlightDisplayViewMap.qml
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,12 @@ FlightMap {
id: centerMapDropPanel

CenterMapDropPanel {
map: _flightMap
fitFunctions: mapFitFunctions
map: _flightMap
fitFunctions: mapFitFunctions
showFollowVehicle: true
followVehicle: _followVehicle

onFollowVehicleChanged: _followVehicle = followVehicle
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/FlightMap/Widgets/CenterMapDropPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ColumnLayout {

onClicked: {
dropPanel.hide()
_root.followVehicle = checked
root.followVehicle = checked
}
}
} // Column

0 comments on commit 2a9be30

Please sign in to comment.