mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Always re-enable loadout UI for member 0.
This commit is contained in:
parent
160d464f9a
commit
159120b487
@ -151,6 +151,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