Commit c29de21a authored by Gus Grubba's avatar Gus Grubba

Merge pull request #3454 from dogmaphobic/wifiMode

Better handle disabling AP channel number for WiFi parameters.
parents a8fda9bc 4550981f
......@@ -168,7 +168,7 @@ QGCView {
QGCComboBox {
id: channelField
width: _editFieldWidth
enabled: wifiMode && wifiMode.value === 0
enabled: wifiMode ? wifiMode.value === 0 : true
model: controller.wifiChannels
currentIndex: wifiChannel ? wifiChannel.value - 1 : 0
onActivated: {
......
......@@ -40,6 +40,7 @@ FactPanel {
VehicleSummaryRow {
labelText: qsTr("WiFi Channel:")
valueText: wifiChannel ? wifiChannel.valueString : ""
visible: wifiMode ? wifiMode.value === 0 : true
}
VehicleSummaryRow {
labelText: qsTr("WiFi AP SSID:")
......
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