mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 19:58:59 +08:00
Splash closed on early crash
This commit is contained in:
parent
383319d631
commit
e64fb9c762
@ -110,6 +110,7 @@ def exceptHook(hook_type, value, traceback):
|
|||||||
application = QApplication(sys.argv)
|
application = QApplication(sys.argv)
|
||||||
application.removePostedEvents(None)
|
application.removePostedEvents(None)
|
||||||
_crash_handler = CrashHandler(hook_type, value, traceback, has_started)
|
_crash_handler = CrashHandler(hook_type, value, traceback, has_started)
|
||||||
|
CuraApplication.getInstance().closeSplash()
|
||||||
_crash_handler.early_crash_dialog.show()
|
_crash_handler.early_crash_dialog.show()
|
||||||
sys.exit(application.exec_())
|
sys.exit(application.exec_())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user