mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +08:00
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:
parent
d439015773
commit
aef0880a1f
@ -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
|
Loading…
x
Reference in New Issue
Block a user