mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 01:25:55 +08: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
@ -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…
x
Reference in New Issue
Block a user