Commit 33946ff3 authored by Gus Grubba's avatar Gus Grubba

Leave buttons enabled

parent e7953629
......@@ -81,6 +81,7 @@ QGCView {
Item {
visible: _shouldDisableWhenArmed
anchors.fill: parent
z: 9999
Rectangle {
anchors.fill: parent
color: "black"
......
......@@ -250,7 +250,6 @@ Rectangle {
setupIndicator: false
exclusiveGroup: setupButtonGroup
visible: !ScreenTools.isMobile && _corePlugin.options.showFirmwareUpgrade
enabled: !_vehicleArmed
text: qsTr("Firmware")
Layout.fillWidth: true
......@@ -291,7 +290,6 @@ Rectangle {
exclusiveGroup: setupButtonGroup
text: modelData.name
visible: modelData.setupSource.toString() !== ""
enabled: _vehicleArmed ? modelData.allowSetupWhileArmed : true
Layout.fillWidth: true
onClicked: showVehicleComponentPanel(modelData)
......
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