Handle bundled packages which can be Downgraded

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-09 12:04:47 +01:00
parent 8a583a4323
commit 4c5ca22b24
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
3 changed files with 7 additions and 12 deletions

View file

@ -66,7 +66,6 @@ class LocalPackageList(PackageList):
section_title = self.PACKAGE_CATEGORIES[bundled_or_installed][package_type]
package = PackageModel(package_info, section_title = section_title, parent = self)
self._connectManageButtonSignals(package)
package.setCanDowngrade(self._manager.canDowngrade(package_id))
return package
def checkForUpdates(self, packages: List[Dict[str, Any]]):