mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-21 05:09:37 +08:00
Simplify the packageList
CURA-8587
This commit is contained in:
parent
bd7a73e7ef
commit
fa7ad7ddb1
@ -297,6 +297,4 @@ class PackageList(ListModel):
|
||||
:param package_id: the package identification string
|
||||
"""
|
||||
self._package_manager.removePackage(package_id, force_add = not self._package_manager.isBundledPackage(package_id))
|
||||
if url == "":
|
||||
url = self._package_manager.package_infosWithUpdate[package_id]["download_url"]
|
||||
self.download(package_id, url, True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user