mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix crash if log window is open when entering mission.
Use signal to append text to LogWindow to avoid crash from crossing thread boundaries. Change modal flag to enable interacting with LogWindow while the mission is running Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1493
This commit is contained in:
@@ -287,8 +287,8 @@ class QTopPanel(QFrame):
|
||||
)
|
||||
|
||||
unit_map = self.game.initiate_event(game_event)
|
||||
waiting = QWaitingForMissionResultWindow(game_event, self.game, unit_map)
|
||||
waiting.show()
|
||||
waiting = QWaitingForMissionResultWindow(game_event, self.game, unit_map, self)
|
||||
waiting.exec_()
|
||||
|
||||
def budget_update(self, game: Game):
|
||||
self.budgetBox.setGame(game)
|
||||
|
||||
Reference in New Issue
Block a user