Don't flag negative starts for active flights.

If the flight has already passed its start up time, this isn't a
negative start.
This commit is contained in:
Dan Albert 2023-08-13 12:31:54 -07:00
parent aaf66107ad
commit 2f385086fd

View File

@ -138,6 +138,7 @@ class QTopPanel(QFrame):
if not package.flights: if not package.flights:
continue continue
for flight in package.flights: for flight in package.flights:
if flight.state.is_waiting_for_start:
startup = flight.flight_plan.startup_time() startup = flight.flight_plan.startup_time()
if startup < now: if startup < now:
packages.append(package) packages.append(package)