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

@ -134,7 +134,6 @@ class CuraApplication(QtApplication):
stacksValidationFinished = pyqtSignal() # Emitted whenever a validation is finished
def __init__(self, **kwargs):
# this list of dir names will be used by UM to detect an old cura directory
for dir_name in ["extruders", "machine_instances", "materials", "plugins", "quality", "user", "variants"]:
Resources.addExpectedDirNameInData(dir_name)