From 4fa024cd317f4f8409790e29b7e440fca2bc01f6 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Fri, 25 Nov 2022 16:48:06 +0100 Subject: [PATCH] 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 --- cura/Settings/MachineManager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 6992ffc4e0..657eeb6089 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -1639,10 +1639,10 @@ class MachineManager(QObject): if result_map["custom_profile"] is not None: string_parts.append(result_map["custom_profile"]) - string_parts.append(result_map["profile"]) - 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"]: string_parts.append(f"""{result_map["layer_height"]}mm""")