diff --git a/qt_ui/windows/mission/flight/QFlightCreator.py b/qt_ui/windows/mission/flight/QFlightCreator.py index 40091fb5..385cb7da 100644 --- a/qt_ui/windows/mission/flight/QFlightCreator.py +++ b/qt_ui/windows/mission/flight/QFlightCreator.py @@ -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"])