Browse Source

Always set type to quality_changes

Custom profiles are always quality changes. They should always say quality in the original anyway; that was an assumption we've made thousands of times.

Contributes to issue CURA-844.
Ghostkeeper 8 years ago
parent
commit
761aeb1aa2
1 changed files with 1 additions and 4 deletions
  1. 1 4
      plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py

+ 1 - 4
plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py

@@ -95,10 +95,7 @@ class Profile:
 
         config.add_section("metadata")
         config.set("metadata", "quality_type", "normal") #This feature doesn't exist in 2.1 yet, so we don't know the actual quality type. For now, always base it on normal.
-        if self._type:
-            config.set("metadata", "type", self._type)
-        else:
-            config.set("metadata", "type", "quality")
+        config.set("metadata", "type", "quality_changes")
         if self._weight:
             config.set("metadata", "weight", str(self._weight))
         if self._machine_variant_name: