Don't forcefully remove bundled packages when updating

Contributes to CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-10 12:43:42 +01:00
parent 11c2ccd227
commit d876b85259
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -288,6 +288,6 @@ class PackageList(ListModel):
:param package_id: the package identification string :param package_id: the package identification string
""" """
self._manager.removePackage(package_id, force_add = True) self._manager.removePackage(package_id, force_add = not self._manager.isBundledPackage(package_id))
url = self._manager.package_infosWithUpdate[package_id]["download_url"] url = self._manager.package_infosWithUpdate[package_id]["download_url"]
self.download(package_id, url, True) self.download(package_id, url, True)