mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix error duplicating profiles
CURA-2478
This commit is contained in:
parent
7b42f52be9
commit
77370d8599
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ class ContainerManager(QObject):
|
|||
new_unique_id = self._createUniqueId(container.getId(), base_name)
|
||||
new_container = container.duplicate(new_unique_id, base_name)
|
||||
if profile_index >= 0:
|
||||
new_changes.setMetaDataEntry("global_profile", global_changes_id)
|
||||
new_container.setMetaDataEntry("global_profile", global_changes_id)
|
||||
else:
|
||||
global_changes_id = new_unique_id
|
||||
new_change_instances.append(new_container)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue