mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Show install button after package has been uninstalled
CURA-8587
This commit is contained in:
parent
2bf8309d45
commit
c66e17dd9e
2 changed files with 23 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue