diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-04-06 18:22:17 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-04-06 18:22:17 +0300 |
commit | 6bb4f52b279f3ad005978a21417d9ddd1977c93a (patch) | |
tree | 1900e8ba5011162d2cf48ce5ca4e43bbe6b03c56 /resources/qml/ActionPanel | |
parent | b2b1961b57630d02d9f7e68e8674e6bec6a6eac5 (diff) |
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
Diffstat (limited to 'resources/qml/ActionPanel')
-rw-r--r-- | resources/qml/ActionPanel/PrintInformationWidget.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/ActionPanel/PrintInformationWidget.qml b/resources/qml/ActionPanel/PrintInformationWidget.qml index d9923ce4e8..813215de4c 100644 --- a/resources/qml/ActionPanel/PrintInformationWidget.qml +++ b/resources/qml/ActionPanel/PrintInformationWidget.qml @@ -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 { |