Add clarifying comment to a small hack

CURA-8762
This commit is contained in:
Jaime van Kessel 2022-02-24 13:28:39 +01:00
parent 19e43e8b66
commit 0d2c8777c5

View File

@ -40,6 +40,9 @@ Rectangle
id: downloadCount
Layout.preferredWidth: parent.width
Layout.fillHeight: true
// It's not the perfect way to handle this, since a package really can have 0 downloads
// But we re-use the package page for the manage plugins as well. The one user that doesn't see
// the num downloads is an acceptable "sacrifice" to make this easy to fix.
visible: packageData.downloadCount != "0"
UM.RecolorImage
{