mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix flights not removed from map if auto-create cancelled
This commit is contained in:
parent
024407e1e2
commit
595a5ac111
@ -314,7 +314,7 @@ class QNewPackageDialog(QPackageDialog):
|
||||
|
||||
def on_cancel(self) -> None:
|
||||
super().on_cancel()
|
||||
for flight in self.package_model.package.flights:
|
||||
for flight in list(self.package_model.package.flights):
|
||||
self.package_model.cancel_or_abort_flight(flight)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user