mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Fix error duplicating profiles
CURA-2478
This commit is contained in:
parent
7b42f52be9
commit
77370d8599
@ -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…
x
Reference in New Issue
Block a user