Legacy profiles are now loaded as quality_changes

CURA-2344
This commit is contained in:
Jaime van Kessel 2016-09-19 14:33:38 +02:00
parent 850a83fd8d
commit 799e66c3ac

View file

@ -130,5 +130,6 @@ class LegacyProfileReader(ProfileReader):
if len(profile.getAllKeys()) == 0: if len(profile.getAllKeys()) == 0:
Logger.log("i", "A legacy profile was imported but everything evaluates to the defaults, creating an empty profile.") Logger.log("i", "A legacy profile was imported but everything evaluates to the defaults, creating an empty profile.")
profile.setDirty(True) profile.setDirty(True)
profile.addMetaDataEntry("type", "quality") profile.addMetaDataEntry("type", "quality_changes")
profile.addMetaDataEntry("quality", "normal")
return profile return profile