From 821c915ce6ec777610f69746525f23b8ff32d76f Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 30 Aug 2016 09:49:07 +0200 Subject: [PATCH] Imported profiles are now directly set as dirty so they are saved to storage upon exit CURA-2099 --- cura/Settings/CuraContainerRegistry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cura/Settings/CuraContainerRegistry.py b/cura/Settings/CuraContainerRegistry.py index dcc47d7f73..87dec62f8d 100644 --- a/cura/Settings/CuraContainerRegistry.py +++ b/cura/Settings/CuraContainerRegistry.py @@ -145,6 +145,7 @@ class CuraContainerRegistry(ContainerRegistry): return { "status": "ok", "message": catalog.i18nc("@info:status", "Successfully imported profile {0}", profile.getName()) } else: for profile in profile_or_list: + profile.setDirty(True) # Ensure the profiles are correctly saved if profile.getId() != "": container_registry.addContainer(profile) else: