mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue