mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Loadout selector bugfix (#430)
fix loadout selector being disabled if awacs or refueling is selected and then changed to something else
This commit is contained in:
parent
06d3805946
commit
9d6f1552c8
@ -318,6 +318,8 @@ class QFlightCreator(QDialog):
|
||||
self.loadout_selector.addItem("No loadouts available", None)
|
||||
self.loadout_selector.setDisabled(True)
|
||||
return
|
||||
else:
|
||||
self.loadout_selector.setDisabled(False)
|
||||
for loadout in Loadout.iter_for_aircraft(ac_type):
|
||||
self.loadout_selector.addItem(loadout.name, loadout)
|
||||
for loadout in Loadout.default_loadout_names_for(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user