mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Reinstall a package scheduled for removal before attempting to dl and install
Contributes to CURA-8587
This commit is contained in:
parent
951c0234d6
commit
447e0443a2
1 changed files with 2 additions and 1 deletions
|
@ -273,7 +273,8 @@ class PackageList(ListModel):
|
||||||
|
|
||||||
:param package_id: the package identification string
|
:param package_id: the package identification string
|
||||||
"""
|
"""
|
||||||
self.download(package_id, url, False)
|
if not self._package_manager.reinstallPackage(package_id):
|
||||||
|
self.download(package_id, url, False)
|
||||||
|
|
||||||
def uninstallPackage(self, package_id: str) -> None:
|
def uninstallPackage(self, package_id: str) -> None:
|
||||||
"""Uninstall a package from the Marketplace
|
"""Uninstall a package from the Marketplace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue