mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Group intent and quality
Bit of an ugly hack. At later point in the code it is assumed the first element of the list is the main part and the remaining elements form the suffix. Intent and the profile form both the main part so these need to be grouped together. Cura-9773
This commit is contained in:
parent
76564f7bc4
commit
4fa024cd31
1 changed files with 3 additions and 3 deletions
|
@ -1639,10 +1639,10 @@ class MachineManager(QObject):
|
||||||
if result_map["custom_profile"] is not None:
|
if result_map["custom_profile"] is not None:
|
||||||
string_parts.append(result_map["custom_profile"])
|
string_parts.append(result_map["custom_profile"])
|
||||||
|
|
||||||
string_parts.append(result_map["profile"])
|
|
||||||
|
|
||||||
if result_map["intent_category"] is not "default":
|
if result_map["intent_category"] is not "default":
|
||||||
string_parts.append(result_map["intent_name"])
|
string_parts.append(f"""{result_map["intent_name"]} - {result_map["profile"]}""")
|
||||||
|
else:
|
||||||
|
string_parts.append(result_map["profile"])
|
||||||
|
|
||||||
if result_map["layer_height"]:
|
if result_map["layer_height"]:
|
||||||
string_parts.append(f"""{result_map["layer_height"]}mm""")
|
string_parts.append(f"""{result_map["layer_height"]}mm""")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue