mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Importing profile now works again if profile name already existed
CURA-2478
This commit is contained in:
parent
608c442bb9
commit
bf1cfe9e7e
1 changed files with 2 additions and 5 deletions
|
|
@ -147,9 +147,6 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
new_name = self.createUniqueName("quality_changes", "", name_seed, catalog.i18nc("@label", "Custom profile"))
|
||||
for profile in profile_or_list:
|
||||
profile.setDirty(True) # Ensure the profiles are correctly saved
|
||||
if profile.getId() != "":
|
||||
container_registry.addContainer(profile)
|
||||
else:
|
||||
self._configureProfile(profile, name_seed)
|
||||
profile.setName(new_name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue