mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Imported profiles are now directly set as dirty so they are saved to storage upon exit
CURA-2099
This commit is contained in:
parent
d711a510dd
commit
821c915ce6
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue