Make an extra early crash dialog

CURA-4895

An early crash dialog showing options to backup the current user data
and reset the configuration files.
This commit is contained in:
Lipu Fei 2018-01-30 15:52:20 +01:00 committed by Diego Prado Gesto
parent 1d946085d3
commit 6bbc18d51e
3 changed files with 125 additions and 8 deletions

View file

@ -103,7 +103,7 @@ def exceptHook(hook_type, value, traceback):
else:
application = QApplication(sys.argv)
_crash_handler = CrashHandler(hook_type, value, traceback, has_started)
_crash_handler.dialog.show()
_crash_handler.early_crash_dialog.show()
sys.exit(application.exec_())
if not known_args["debug"]: