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.
This commit is contained in:
Ghostkeeper 2016-09-08 17:05:26 +02:00
parent 23180d408c
commit 761aeb1aa2
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

@ -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: