mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Create name that conflicts with neither quality or quality changes
The same method is used when creating/duplicating profiles CURA-2478
This commit is contained in:
parent
39a005d7e5
commit
4fbd82cb6d
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
profile_name = "%s_%s" % (extruder_id, name_seed)
|
||||
else:
|
||||
profile_name = name_seed
|
||||
new_name = self.createUniqueName("quality_changes", "", profile_name, catalog.i18nc("@label", "Custom profile"))
|
||||
new_name = container_registry.uniqueName(profile_name)
|
||||
profile.setDirty(True) # Ensure the profiles are correctly saved
|
||||
self._configureProfile(profile, profile_name)
|
||||
profile.setName(new_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue