Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-02-24 15:28:39 +0300
committerJaime van Kessel <nallath@gmail.com>2022-02-24 15:28:39 +0300
commit0d2c8777c548fdc7f63d61b61e2f5799f03af421 (patch)
tree0808fdf13579351c94a1f88ade22e7c0d3dcc491 /plugins/Marketplace/resources
parent19e43e8b663b3c40afe7a1e314e32bf410ae8a09 (diff)
Add clarifying comment to a small hack
CURA-8762
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/PackagePage.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Marketplace/resources/qml/PackagePage.qml b/plugins/Marketplace/resources/qml/PackagePage.qml
index 00e022dc20..4384d2843f 100644
--- a/plugins/Marketplace/resources/qml/PackagePage.qml
+++ b/plugins/Marketplace/resources/qml/PackagePage.qml
@@ -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
{