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
parent d439015773
commit aef0880a1f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

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.")
profile.setDirty(True)
profile.addMetaDataEntry("type", "quality_changes")
profile.addMetaDataEntry("quality", "normal")
profile.addMetaDataEntry("quality_type", "normal")
return profile