Fix crash on slicing.

A Component with 0 width and height does not load values from registered Objects correctly.

This 0 width/height was caused by a binding loop for height in the contentItem.

CURA-8640
This commit is contained in:
j.delarago 2022-04-06 17:22:17 +02:00
parent b2b1961b57
commit 6bb4f52b27

View file

@ -17,6 +17,8 @@ UM.RecolorImage
color: UM.Theme.getColor("icon")
property var printMaterialCosts: PrintInformation.materialCosts
MouseArea
{
anchors.fill: parent
@ -37,8 +39,6 @@ UM.RecolorImage
opacity: opened ? 1 : 0
Behavior on opacity { NumberAnimation { duration: 100 } }
contentWidth: printJobInformation.width
contentHeight: printJobInformation.implicitHeight
contentItem: PrintJobInformation
{