mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Make the flight dialog modal to prevent inventory loss.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1971.
This commit is contained in:
parent
46694e458d
commit
f7ced1aea6
@ -42,6 +42,9 @@ class QFlightCreator(QDialog):
|
||||
self.custom_name_text = None
|
||||
self.country = self.game.blue.country_name
|
||||
|
||||
# Make dialog modal to prevent background windows to close unexpectedly.
|
||||
self.setModal(True)
|
||||
|
||||
self.setWindowTitle("Create flight")
|
||||
self.setWindowIcon(EVENT_ICONS["strike"])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user