mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Rework of the ManageButton
Now uses the internal signal Contributes to: CURA-8587
This commit is contained in:
parent
4c516e8cec
commit
9f41115bc1
7 changed files with 168 additions and 262 deletions
|
@ -66,9 +66,7 @@ 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.can_downgrade = self._manager.canDowngrade(package_id)
|
||||
if package_id in self._manager.getPackagesToRemove() or package_id in self._manager.getPackagesToInstall():
|
||||
package.installation_status_changed = True
|
||||
package.setCanDowngrade(self._manager.canDowngrade(package_id))
|
||||
return package
|
||||
|
||||
def checkForUpdates(self, packages: List[Dict[str, Any]]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue