|
|
|
@ -120,9 +120,11 @@ Rectangle {
@@ -120,9 +120,11 @@ Rectangle {
|
|
|
|
|
target: multiVehicleManager |
|
|
|
|
|
|
|
|
|
onParameterReadyVehicleAvailableChanged: { |
|
|
|
|
if (parameterReadyVehicleAvailable || summaryButton.checked) { |
|
|
|
|
// When a new vehicle shows up we switch to the Summary View. If the Summary View is already showing |
|
|
|
|
// and a vehicle goes away, we must reload it to show new disconnected Qml |
|
|
|
|
if (parameterReadyVehicleAvailable || summaryButton.checked || setupButtonGroup.current != firmwareButton) { |
|
|
|
|
// Show/Reload the Summary panel when: |
|
|
|
|
// A new vehicle shows up |
|
|
|
|
// The summary panel is already showing and the active vehicle goes away |
|
|
|
|
// The active vehicle goes away and we are not on the Firmware panel. |
|
|
|
|
summaryButton.checked = true |
|
|
|
|
showSummaryPanel() |
|
|
|
|
} |
|
|
|
|