mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
Don't show download count for bundled plug-ins
I considered rewriting the section title property to be QML-only and translate it from the QML, but this is a bit simpler in the end, even though there is data duplication now. Contributes to issue CURA-8565.
This commit is contained in:
parent
7eca005659
commit
7529483cb0
4 changed files with 12 additions and 3 deletions
|
@ -90,4 +90,4 @@ class LocalPackageList(PackageList):
|
|||
bundled_or_installed = "installed" if self._manager.isUserInstalledPackage(package_info["package_id"]) else "bundled"
|
||||
package_type = package_info["package_type"]
|
||||
section_title = self.PACKAGE_SECTION_HEADER[bundled_or_installed][package_type]
|
||||
return PackageModel(package_info, section_title = section_title, parent = self)
|
||||
return PackageModel(package_info, installation_status = bundled_or_installed, section_title = section_title, parent = self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue