mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Always re-enable loadout UI for member 0.
This commit is contained in:
parent
0b7acbc94e
commit
47add7848f
@ -222,6 +222,9 @@ class QFlightPayloadTab(QFrame):
|
|||||||
self.payload_editor.setDisabled(
|
self.payload_editor.setDisabled(
|
||||||
self.flight.use_same_loadout_for_all_members
|
self.flight.use_same_loadout_for_all_members
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
self.loadout_selector.setEnabled(True)
|
||||||
|
self.payload_editor.setEnabled(True)
|
||||||
|
|
||||||
def loadout_at(self, index: int) -> Loadout:
|
def loadout_at(self, index: int) -> Loadout:
|
||||||
loadout = self.loadout_selector.itemData(index)
|
loadout = self.loadout_selector.itemData(index)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user