Browse Source

Allow selection of first item in ardupilot firmware list

QGC4.4
Don Gagne 2 years ago committed by Patrick José Pereira
parent
commit
7a34d61fcb
  1. 2
      src/VehicleSetup/FirmwareUpgrade.qml

2
src/VehicleSetup/FirmwareUpgrade.qml

@ -208,7 +208,7 @@ SetupPage { @@ -208,7 +208,7 @@ SetupPage {
firmwareSelectDialog.preventClose = true
return
}
if (ardupilotFirmwareSelectionCombo.currentIndex == 0) {
if (ardupilotFirmwareSelectionCombo.currentIndex == -1) {
mainWindow.showMessageDialog(firmwareSelectDialog.title, qsTr("You must choose a board type."))
firmwareSelectDialog.preventClose = true
return

Loading…
Cancel
Save