mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 04:41:06 -07:00
Splash closed on early crash
This commit is contained in:
parent
383319d631
commit
e64fb9c762
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue