Always re-enable loadout UI for member 0.

This commit is contained in:
Dan Albert 2023-07-27 22:22:15 -07:00 committed by Raffson
parent 0b7acbc94e
commit 47add7848f
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -222,6 +222,9 @@ class QFlightPayloadTab(QFrame):
self.payload_editor.setDisabled(
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:
loadout = self.loadout_selector.itemData(index)