mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:35:54 +08:00
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:
parent
b2b1961b57
commit
6bb4f52b27
@ -17,6 +17,8 @@ UM.RecolorImage
|
|||||||
|
|
||||||
color: UM.Theme.getColor("icon")
|
color: UM.Theme.getColor("icon")
|
||||||
|
|
||||||
|
property var printMaterialCosts: PrintInformation.materialCosts
|
||||||
|
|
||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -37,8 +39,6 @@ UM.RecolorImage
|
|||||||
opacity: opened ? 1 : 0
|
opacity: opened ? 1 : 0
|
||||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||||
|
|
||||||
contentWidth: printJobInformation.width
|
|
||||||
contentHeight: printJobInformation.implicitHeight
|
|
||||||
|
|
||||||
contentItem: PrintJobInformation
|
contentItem: PrintJobInformation
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user