mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
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:
parent
1cd107965c
commit
79cb1a1293
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue