mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Replace deprecated .getContainer() calls with .container
part of CURA-6600
This commit is contained in:
parent
47fe4b4c90
commit
7fb9642e45
13 changed files with 49 additions and 49 deletions
|
@ -106,7 +106,7 @@ class QualityProfilesDropDownMenuModel(ListModel):
|
|||
# Get layer_height from the quality profile for the GlobalStack
|
||||
if quality_group.node_for_global is None:
|
||||
return float(default_layer_height)
|
||||
container = quality_group.node_for_global.getContainer()
|
||||
container = quality_group.node_for_global.container
|
||||
|
||||
layer_height = default_layer_height
|
||||
if container and container.hasProperty("layer_height", "value"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue