From f72e6be10e50709a73ae9e42863e9218e019abe0 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 25 Oct 2016 13:24:56 +0200 Subject: [PATCH] Fix setting the quality_type of imported profile The metadata entry was renamed a while ago. Contributes to issue CURA-2785. --- plugins/LegacyProfileReader/LegacyProfileReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LegacyProfileReader/LegacyProfileReader.py b/plugins/LegacyProfileReader/LegacyProfileReader.py index 8d4afdae7a..70a19f02ee 100644 --- a/plugins/LegacyProfileReader/LegacyProfileReader.py +++ b/plugins/LegacyProfileReader/LegacyProfileReader.py @@ -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 \ No newline at end of file