mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-22 14:17:29 +08:00
Fix container ID modification in profile importing
CURA-4868
This commit is contained in:
parent
507b967946
commit
34e6816f83
@ -296,7 +296,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
||||
profile.setDirty(True) # Ensure the profiles are correctly saved
|
||||
|
||||
new_id = self.createUniqueName("quality_changes", "", id_seed, catalog.i18nc("@label", "Custom profile"))
|
||||
profile._id = new_id
|
||||
profile.setMetaDataEntry("id", new_id)
|
||||
profile.setName(new_name)
|
||||
|
||||
# Set the unique Id to the profile, so it's generating a new one even if the user imports the same profile
|
||||
|
Loading…
x
Reference in New Issue
Block a user