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.
This commit is contained in:
Thomas Karl Pietrowski 2017-12-10 01:08:06 +01:00
parent 1cd107965c
commit 79cb1a1293

View file

@ -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
#