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
parent ced93afd49
commit 64e2213f28

View File

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