Skip to content
Snippets Groups Projects
Commit a9e5fea7 authored by Don Gagne's avatar Don Gagne Committed by Don Gagne
Browse files

Fix signal handling

parent 38ae1c92
No related branches found
Tags d4.2.0
No related merge requests found
......@@ -238,7 +238,7 @@ FlightMap {
Connections {
target: QGroundControl.multiVehicleManager
function onActiveVehicleChanged() {
function onActiveVehicleChanged(activeVehicle) {
trajectoryPolyline.path = _activeVehicle ? _activeVehicle.trajectoryPoints.list() : []
}
}
......@@ -382,7 +382,7 @@ FlightMap {
Connections {
target: QGroundControl.multiVehicleManager
function onActiveVehicleChanged() {
function onActiveVehicleChanged(activeVehicle) {
if (!activeVehicle) {
gotoLocationItem.visible = false
}
......@@ -420,7 +420,7 @@ FlightMap {
Connections {
target: QGroundControl.multiVehicleManager
function onActiveVehicleChanged() {
function onActiveVehicleChanged(activeVehicle) {
if (!activeVehicle) {
orbitMapCircle.visible = false
}
......
......@@ -58,7 +58,7 @@ QGCLabel {
Connections {
target: QGroundControl.multiVehicleManager
function onActiveVehicleChanged() { _root.updateFlightModesMenu() }
function onActiveVehicleChanged(activeVehicle) { _root.updateFlightModesMenu() }
}
MouseArea {
......
......@@ -186,7 +186,7 @@ Rectangle {
Connections {
target: QGroundControl.multiVehicleManager
function onActiveVehicleChanged() { largeProgressBar._userHide = false }
function onActiveVehicleChanged(activeVehicle) { largeProgressBar._userHide = false }
}
Rectangle {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment