From e64fb9c7622d149ad3fdcaf2fb55469fdf361bf1 Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Mon, 5 Feb 2018 14:47:11 +0100 Subject: [PATCH] Splash closed on early crash --- cura_app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura_app.py b/cura_app.py index d1cf215fc5..d0170e5972 100755 --- a/cura_app.py +++ b/cura_app.py @@ -32,7 +32,7 @@ if not known_args["debug"]: return os.path.expanduser("~/.local/share/cura") elif Platform.isOSX(): return os.path.expanduser("~/Library/Logs/cura") - + if hasattr(sys, "frozen"): dirpath = get_cura_dir_path() os.makedirs(dirpath, exist_ok = True) @@ -110,6 +110,7 @@ def exceptHook(hook_type, value, traceback): application = QApplication(sys.argv) application.removePostedEvents(None) _crash_handler = CrashHandler(hook_type, value, traceback, has_started) + CuraApplication.getInstance().closeSplash() _crash_handler.early_crash_dialog.show() sys.exit(application.exec_())