CURA-5536 Calculate the number of installed packages by author.

This commit is contained in:
Diego Prado Gesto 2018-07-13 11:59:19 +02:00
parent 1b6c172e6d
commit 96cc1be2ff
3 changed files with 18 additions and 9 deletions

View file

@ -63,7 +63,7 @@ Item
Label
{
id: name
text: model.name
text: toolbox.viewCategory == "material" ? model.name + " (" + toolbox.getNumberOfInstalledPackagesByAuthor(model.id) + "/" + model.package_count + ")" : model.name
width: parent.width
wrapMode: Text.WordWrap
color: UM.Theme.getColor("text")