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:
Ghostkeeper 2016-06-06 09:40:20 +02:00
parent 2660b2a68f
commit 357997c984

View File

@ -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())