From 9eb7729a50b0b74b3a8eb02eb9afce45e8af3105 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 1 Jul 2020 09:57:28 -0700 Subject: [PATCH] Fix Summary button check state --- src/VehicleSetup/SetupView.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VehicleSetup/SetupView.qml b/src/VehicleSetup/SetupView.qml index 8cd6a1d9b..6ec84e3dd 100644 --- a/src/VehicleSetup/SetupView.qml +++ b/src/VehicleSetup/SetupView.qml @@ -55,6 +55,7 @@ Rectangle { } else { panelLoader.setSourceComponent(disconnectedVehicleSummaryComponent) } + summaryButton.checked = true } function showPanel(button, qmlSource) { @@ -80,7 +81,7 @@ Rectangle { for(var i = 0; i < componentRepeater.count; i++) { var obj = componentRepeater.itemAt(i); if (obj.text === vehicleComponent.name) { - obj.checked = true; + obj.checked = true break; } } -- 2.22.0