Skip to content
Snippets Groups Projects
Commit b6dbe951 authored by Gus Grubba's avatar Gus Grubba
Browse files

Fix runtime QML warnings

parent 0806f857
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ Rectangle {
onParameterReadyVehicleAvailableChanged: {
if(!QGroundControl.skipSetupPage) {
if (parameterReadyVehicleAvailable || summaryButton.checked || setupButtonGroup.current != firmwareButton) {
if (QGroundControl.multiVehicleManager.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
......
......@@ -38,9 +38,9 @@ Item {
//-- Setup can be invoked from c++ side
Connections {
target: mainContentWindow
onSourceChanged: {
if(mainContentWindow.source.toString().endsWith(setupViewSource)) {
target: setupWindow
onVisibleChanged: {
if(setupWindow.visible) {
setupButton.checked = true
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment