mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Add missing unculled zone update event.
This commit is contained in:
parent
ad7032064d
commit
8a1c0c041c
@ -298,8 +298,8 @@ class AtoModel(QAbstractListModel):
|
||||
|
||||
def on_packages_changed(self) -> None:
|
||||
if self.game is not None:
|
||||
self.game.compute_unculled_zones()
|
||||
EventStream.put_nowait(GameUpdateEvents().update_unculled_zones())
|
||||
with EventStream.event_context() as events:
|
||||
self.game.compute_unculled_zones(events)
|
||||
|
||||
def package_at_index(self, index: QModelIndex) -> Package:
|
||||
"""Returns the package at the given index."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user