From 34e6816f835bf6a13dff132b69d0269692334b70 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 29 Jan 2018 14:47:32 +0100 Subject: [PATCH] Fix container ID modification in profile importing CURA-4868 --- cura/Settings/CuraContainerRegistry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Settings/CuraContainerRegistry.py b/cura/Settings/CuraContainerRegistry.py index 589948216d..e89c8722cc 100644 --- a/cura/Settings/CuraContainerRegistry.py +++ b/cura/Settings/CuraContainerRegistry.py @@ -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