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.
(cherry picked from commit 64e2213f28)
This commit is contained in:
@@ -29,6 +29,7 @@ class QEditFlightDialog(QDialog):
|
||||
|
||||
self.setWindowTitle("Edit flight")
|
||||
self.setWindowIcon(EVENT_ICONS["strike"])
|
||||
self.setModal(True)
|
||||
|
||||
layout = QVBoxLayout()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user