Move all the seperate tiles into loaders instead of the entire page

Otherwise the details selection didn't work anymore and I didn't want to add more hacks.

CURA-6006
This commit is contained in:
Jaime van Kessel 2018-12-06 14:35:07 +01:00
parent 54def4edee
commit a77ad32999
4 changed files with 33 additions and 15 deletions

View file

@ -26,10 +26,15 @@ Item
}
height: childrenRect.height + 2 * UM.Theme.getSize("wide_margin").height
spacing: UM.Theme.getSize("default_margin").height
Repeater
{
model: toolbox.packagesModel
delegate: ToolboxDetailTile {}
delegate: Loader
{
asynchronous: true
source: "ToolboxDetailTile.qml"
}
}
}
}