mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Briefing Window : Only show "clients slot" spinbox if the aircraft is flyable.
This commit is contained in:
parent
e955c10170
commit
d4577aa7a6
@ -118,8 +118,7 @@ class QBriefingWindow(QDialog):
|
|||||||
self.gridLayout.addWidget(QLabel("No units"), row, 1)
|
self.gridLayout.addWidget(QLabel("No units"), row, 1)
|
||||||
row += 1
|
row += 1
|
||||||
for t, c in self.base.aircraft.items():
|
for t, c in self.base.aircraft.items():
|
||||||
print(t,c)
|
scramble_row(flight_task, t, c, t.flyable, row)
|
||||||
scramble_row(flight_task, t, c, True, row)
|
|
||||||
row += 1
|
row += 1
|
||||||
|
|
||||||
return self.gridLayout
|
return self.gridLayout
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user