mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Ensure we have an empty quality changes container in the extruder stack
Contributes to CURA-2006
This commit is contained in:
parent
70dee38c95
commit
b76ebbb850
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@ class ExtruderManager(QObject):
|
||||||
|
|
||||||
container_stack.addContainer(quality)
|
container_stack.addContainer(quality)
|
||||||
|
|
||||||
|
empty_quality_changes = container_registry.findInstanceContainers(id = "empty_quality_changes")[0]
|
||||||
|
container_stack.addContainer(empty_quality_changes)
|
||||||
|
|
||||||
user_profile = container_registry.findInstanceContainers(type = "user", extruder = extruder_stack_id)
|
user_profile = container_registry.findInstanceContainers(type = "user", extruder = extruder_stack_id)
|
||||||
if user_profile: # There was already a user profile, loaded from settings.
|
if user_profile: # There was already a user profile, loaded from settings.
|
||||||
user_profile = user_profile[0]
|
user_profile = user_profile[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue