Make the flight details menu modal.

Prevents players from accidentally deleting flights they're currently
viewing, which would cause an error.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2911.
This commit is contained in:
Dan Albert 2023-05-25 21:00:42 -07:00 committed by Raffson
parent fa70ba5d29
commit bcd81bae7c
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -29,6 +29,7 @@ class QEditFlightDialog(QDialog):
self.setWindowTitle("Edit flight")
self.setWindowIcon(EVENT_ICONS["strike"])
self.setModal(True)
layout = QVBoxLayout()