mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
parent
c437fa329c
commit
3008d9a512
@ -142,8 +142,9 @@ class QFlightWaypointTab(QFrame):
|
|||||||
|
|
||||||
def degrade_to_custom_flight_plan(self) -> None:
|
def degrade_to_custom_flight_plan(self) -> None:
|
||||||
if not isinstance(self.flight.flight_plan, CustomFlightPlan):
|
if not isinstance(self.flight.flight_plan, CustomFlightPlan):
|
||||||
self.flight.flight_plan: FlightPlan[Any] = CustomFlightPlan(
|
self.flight.flight_plan = CustomFlightPlan(
|
||||||
self, CustomLayout(custom_waypoints=self.flight.flight_plan.waypoints)
|
self.flight,
|
||||||
|
CustomLayout(custom_waypoints=self.flight.flight_plan.waypoints),
|
||||||
)
|
)
|
||||||
|
|
||||||
def confirm_recreate(self, task: FlightType) -> None:
|
def confirm_recreate(self, task: FlightType) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user