From d4577aa7a627a1a65f9795346feebce94cd71266 Mon Sep 17 00:00:00 2001 From: Khopa Date: Sun, 6 Oct 2019 00:54:02 +0200 Subject: [PATCH] Briefing Window : Only show "clients slot" spinbox if the aircraft is flyable. --- qt_ui/windows/QBriefingWindow.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt_ui/windows/QBriefingWindow.py b/qt_ui/windows/QBriefingWindow.py index 86565db1..01f967e4 100644 --- a/qt_ui/windows/QBriefingWindow.py +++ b/qt_ui/windows/QBriefingWindow.py @@ -118,8 +118,7 @@ class QBriefingWindow(QDialog): self.gridLayout.addWidget(QLabel("No units"), row, 1) row += 1 for t, c in self.base.aircraft.items(): - print(t,c) - scramble_row(flight_task, t, c, True, row) + scramble_row(flight_task, t, c, t.flyable, row) row += 1 return self.gridLayout