mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:26:00 +08: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
@ -405,7 +405,7 @@ class CuraApplication(QtApplication):
|
|||||||
if main_window is not None:
|
if main_window is not None:
|
||||||
main_window.close()
|
main_window.close()
|
||||||
else:
|
else:
|
||||||
self.closeAllWindows()
|
self.exit(0)
|
||||||
|
|
||||||
## A reusable dialogbox
|
## A reusable dialogbox
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user