Close all windows on exit

This commit is contained in:
Raffson 2022-06-10 22:48:25 +02:00 committed by Dan Albert
parent aa77cfe4b9
commit 5f1ae30f19

View File

@ -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()