diff --git a/plugins/Marketplace/PackageList.py b/plugins/Marketplace/PackageList.py index b34d40c1d2..7d5e85a9af 100644 --- a/plugins/Marketplace/PackageList.py +++ b/plugins/Marketplace/PackageList.py @@ -33,7 +33,6 @@ class PackageList(ListModel): PackageRole = Qt.UserRole + 1 ITEMS_PER_PAGE = 20 # Pagination of number of elements to download at once. - INCLUDED_PACKAGE_TYPE = ("material", "plugin") # Only show these kind of packages def __init__(self, parent: "QObject" = None) -> None: super().__init__(parent) @@ -151,9 +150,8 @@ class PackageList(ListModel): return for package_data in response_data["data"]: - if package_data["package_type"] in self.INCLUDED_PACKAGE_TYPE: - package = PackageModel(package_data, parent = self) - self.appendItem({"package": package}) # Add it to this list model. + package = PackageModel(package_data, parent = self) + self.appendItem({"package": package}) # Add it to this list model. self._request_url = response_data["links"].get("next", "") # Use empty string to signify that there is no next page. self.hasMoreChanged.emit()