mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:59:01 +08:00
Add user profile to container registry
This will allow it to be saved when restarting Cura and such. Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
parent
2660b2a68f
commit
357997c984
@ -76,6 +76,7 @@ class Extruder:
|
||||
self._user_profile = UM.Settings.InstanceContainer(self._name + "_current_settings")
|
||||
self._user_profile.addMetaDataEntry("type", "user")
|
||||
self._container_stack.addContainer(self._user_profile)
|
||||
container_registry.addContainer(self._user_profile)
|
||||
|
||||
self._container_stack.setNextStack(UM.Application.getInstance().getGlobalContainerStack())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user