Skip to content
Snippets Groups Projects
Commit 3356be77 authored by Lan Dam's avatar Lan Dam
Browse files

close all other windows on closeEvent of Main Window

parent e374e668
No related branches found
No related tags found
1 merge request!72close all other windows on closeEvent of Main Window
Pipeline #2213 passed with stage
in 2 minutes and 59 seconds
......@@ -680,6 +680,10 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
self.data_loader.thread.quit()
self.data_loader.thread.wait()
# close all remaining windows
for window in QtWidgets.QApplication.topLevelWidgets():
window.close()
def delete_old_temp_data_folder(self) -> None:
"""
Delete temp_data_folder which is used for keeping memmap files in case
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment