mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
CURA-5330 Fix some typing issues in QualityProfilesDropDownMenuModel and
SettingInheritanceManager.
This commit is contained in:
parent
2e174e75fa
commit
5cd464c5de
2 changed files with 5 additions and 1 deletions
|
@ -94,6 +94,8 @@ class QualityProfilesDropDownMenuModel(ListModel):
|
|||
default_layer_height = global_stack.definition.getProperty("layer_height", "value")
|
||||
|
||||
# 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()
|
||||
|
||||
layer_height = default_layer_height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue