Commit 4820ec60 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4247 from DonLakeFlyer/AirframeSelect

Fix combo selection bug
parents fe6f3b5b b8611542
......@@ -208,6 +208,7 @@ Your vehicle will also be restarted in order to complete the process.")
onCheckedChanged: {
if (checked && combo.currentIndex != -1) {
console.log("check box change", combo.currentIndex)
controller.autostartId = modelData.airframes[combo.currentIndex].autostartId
}
}
......@@ -230,8 +231,9 @@ Your vehicle will also be restarted in order to complete the process.")
onActivated: {
applyButton.primary = true
controller.autostartId = modelData.airframes[index].autostartId
airframeCheckBox.checked = true;
console.log("combo change", index)
controller.autostartId = modelData.airframes[index].autostartId
}
}
}
......
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