mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
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:
parent
ced93afd49
commit
64e2213f28
@ -29,6 +29,7 @@ class QEditFlightDialog(QDialog):
|
||||
|
||||
self.setWindowTitle("Edit flight")
|
||||
self.setWindowIcon(EVENT_ICONS["strike"])
|
||||
self.setModal(True)
|
||||
|
||||
layout = QVBoxLayout()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user