From 79cb1a1293f4e6874f596288e611e91d5814c153 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Sun, 10 Dec 2017 01:08:06 +0100 Subject: [PATCH] closeAllWindows seems to take no effect - use exit instead Looks like it does not work, because there was never a window or any other window on top of QApplication. .exit() should let us out of the main loop. --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index fc675e549b..abe1ddf374 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -405,7 +405,7 @@ class CuraApplication(QtApplication): if main_window is not None: main_window.close() else: - self.closeAllWindows() + self.exit(0) ## A reusable dialogbox #