Clean up aircraft selector.

This commit is contained in:
Dan Albert
2021-05-22 17:05:53 -07:00
parent 16fff8d87a
commit 2df17c32cd
2 changed files with 11 additions and 67 deletions

View File

@@ -211,7 +211,7 @@ class QFlightCreator(QDialog):
self.restore_start_type = None
def on_task_changed(self) -> None:
self.aircraft_selector.updateItems(
self.aircraft_selector.update_items(
self.task_selector.currentData(),
self.game.aircraft_inventory.available_types_for_player,
)