Remove a recently installed and then uninstalled package from the manage list

Contributes to CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-16 12:21:36 +01:00
parent 62c6af1ef3
commit 8abeb24ccc
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
3 changed files with 11 additions and 2 deletions

View file

@ -118,7 +118,7 @@ class RemotePackageList(PackageList):
for package_data in response_data["data"]:
package_id = package_data["package_id"]
if package_id in self._local_packages:
if package_id in self._package_manager.local_packages_ids:
continue # We should only show packages which are not already installed
try:
package = PackageModel(package_data, parent = self)