Browse Source

Don't switch views automatically on sensor health warning

QGC4.4
Jacob Walser 8 years ago
parent
commit
df641b2363
  1. 7
      src/FlightMap/Widgets/VehicleHealthWidget.qml

7
src/FlightMap/Widgets/VehicleHealthWidget.qml

@ -27,13 +27,6 @@ QGCFlickable { @@ -27,13 +27,6 @@ QGCFlickable {
property var unhealthySensors: QGroundControl.multiVehicleManager.activeVehicle ? QGroundControl.multiVehicleManager.activeVehicle.unhealthySensors : [ ]
// Any time the unhealthy sensors list changes, switch to the health page
onUnhealthySensorsChanged: {
if (unhealthySensors.length != 0) {
showPage(2)
}
}
MouseArea {
anchors.fill: parent
onClicked: showNextPage()

Loading…
Cancel
Save