Build models using reserved tags

Contributes to CURA-5670
This commit is contained in:
Ian Paschal 2018-08-31 16:13:01 +02:00
parent 6cceebb117
commit dec76a19ed
2 changed files with 70 additions and 16 deletions

View file

@ -30,7 +30,7 @@ ScrollView
id: allPlugins
width: parent.width
heading: toolbox.viewCategory == "material" ? catalog.i18nc("@label", "Community Contributions") : catalog.i18nc("@label", "Community Plugins")
model: toolbox.viewCategory == "material" ? toolbox.authorsModel : toolbox.packagesModel
model: toolbox.viewCategory == "material" ? toolbox.materialsAvailableModel : toolbox.pluginsAvailableModel
}
ToolboxDownloadsGrid