mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Fix RadioCheckbars layout getting out of wack sometimes
CURA-6598
This commit is contained in:
parent
68d3cf8412
commit
c80cd9679f
2 changed files with 8 additions and 2 deletions
|
@ -78,7 +78,7 @@ Item
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
height: childrenRect.height
|
||||
height: intentCategoryLabel.height
|
||||
|
||||
Label
|
||||
{
|
||||
|
@ -110,6 +110,11 @@ Item
|
|||
// When user created profile is active, no quality tickbox should be active.
|
||||
return false
|
||||
}
|
||||
|
||||
if(modelItem === null)
|
||||
{
|
||||
return false
|
||||
}
|
||||
return Cura.MachineManager.activeQualityType == modelItem.quality_type && Cura.MachineManager.activeIntentCategory == modelItem.intent_category
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue