mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix #85: update the max aircraft available.
https://github.com/Khopa/dcs_liberation/issues/85
This commit is contained in:
parent
a63bac8826
commit
7535013848
@ -53,7 +53,7 @@ class QFlightCreator(QDialog):
|
|||||||
[cp for cp in game.theater.controlpoints if cp.captured],
|
[cp for cp in game.theater.controlpoints if cp.captured],
|
||||||
self.aircraft_selector.currentData()
|
self.aircraft_selector.currentData()
|
||||||
)
|
)
|
||||||
self.aircraft_selector.currentIndexChanged.connect(self.update_max_size)
|
self.airfield_selector.currentIndexChanged.connect(self.update_max_size)
|
||||||
layout.addLayout(QLabeledWidget("Airfield:", self.airfield_selector))
|
layout.addLayout(QLabeledWidget("Airfield:", self.airfield_selector))
|
||||||
|
|
||||||
self.flight_size_spinner = QFlightSizeSpinner()
|
self.flight_size_spinner = QFlightSizeSpinner()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user