CURA-4644 Set the property in the component where is being used.

This commit is contained in:
Diego Prado Gesto 2018-05-04 14:03:26 +02:00
parent 6b214d2443
commit b00d51a6eb
3 changed files with 4 additions and 2 deletions

View file

@ -8,6 +8,7 @@ import UM 1.1 as UM
Item
{
property var packageData
anchors.topMargin: UM.Theme.getSize("default_margin").height
height: visible ? childrenRect.height : 0
visible: packageData.type == "material" && packageData.has_configs