Browse Source

Don't forcefully remove bundled packages when updating

Contributes to CURA-8587
Jelle Spijker 3 years ago
parent
commit
d876b85259
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/Marketplace/PackageList.py

+ 1 - 1
plugins/Marketplace/PackageList.py

@@ -288,6 +288,6 @@ class PackageList(ListModel):
 
         :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"]
         self.download(package_id, url, True)