mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Close all windows on exit
This commit is contained in:
parent
aa77cfe4b9
commit
5f1ae30f19
@ -474,5 +474,7 @@ class QLiberationWindow(QMainWindow):
|
||||
self._save_window_geometry()
|
||||
super().closeEvent(event)
|
||||
self.dialog = None
|
||||
for window in QApplication.topLevelWidgets():
|
||||
window.close()
|
||||
else:
|
||||
event.ignore()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user