From df641b2363d912396e1359f4b751ad6bb937a136 Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Wed, 10 May 2017 21:18:41 -0400 Subject: [PATCH] Don't switch views automatically on sensor health warning --- src/FlightMap/Widgets/VehicleHealthWidget.qml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/FlightMap/Widgets/VehicleHealthWidget.qml b/src/FlightMap/Widgets/VehicleHealthWidget.qml index 85eb21249..60834cf49 100644 --- a/src/FlightMap/Widgets/VehicleHealthWidget.qml +++ b/src/FlightMap/Widgets/VehicleHealthWidget.qml @@ -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() -- 2.22.0