Show install button after package has been uninstalled

CURA-8587
This commit is contained in:
casper 2021-12-15 15:13:38 +01:00
parent 2bf8309d45
commit c66e17dd9e
2 changed files with 23 additions and 11 deletions

View file

@ -351,7 +351,7 @@ class PackageModel(QObject):
@pyqtProperty(bool, notify = stateManageButtonChanged)
def isInstalled(self) -> bool:
return self._package_id in self._package_manager.local_packages_ids
return self._package_id in self._package_manager.installed_packages_ids
@pyqtProperty(bool, notify = stateManageButtonChanged)
def isActive(self) -> bool: