Commit 3f0806ac authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5130 from bluerobotics/vehicle-health-bug

Bugfix for vehicle health instrument view
parents 4fc1047b 79527600
......@@ -29,6 +29,7 @@ Item {
function showPage(pageIndex) {
pageRow.x = -(pageIndex * _pageWidth)
_currentPage = pageIndex
}
function showNextPage() {
......
......@@ -30,7 +30,7 @@ QGCFlickable {
// Any time the unhealthy sensors list changes, switch to the health page
onUnhealthySensorsChanged: {
if (unhealthySensors.length != 0) {
showPage(1)
showPage(2)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment