Fix setting the quality_type of imported profile

The metadata entry was renamed a while ago.

Contributes to issue CURA-2785.
This commit is contained in:
Ghostkeeper 2016-10-25 13:24:56 +02:00 committed by Jaime van Kessel
parent 623f9cb4fc
commit f72e6be10e

View file

@ -140,5 +140,5 @@ class LegacyProfileReader(ProfileReader):
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_changes") profile.addMetaDataEntry("type", "quality_changes")
profile.addMetaDataEntry("quality", "normal") profile.addMetaDataEntry("quality_type", "normal")
return profile return profile