Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Spijker <spijker.jelle@gmail.com>2021-12-10 14:43:42 +0300
committerJelle Spijker <spijker.jelle@gmail.com>2021-12-10 14:43:42 +0300
commitd876b85259a5346dbcadb9679a954be94dd81bed (patch)
treebbf9e338d9d3212a2f52cace9cce1b8e0d4b44db
parent11c2ccd227b4971e5657b62d2c089643469821a8 (diff)
Don't forcefully remove bundled packages when updating
Contributes to CURA-8587
-rw-r--r--plugins/Marketplace/PackageList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Marketplace/PackageList.py b/plugins/Marketplace/PackageList.py
index 9d1fb08488..ca3d4aff41 100644
--- a/plugins/Marketplace/PackageList.py
+++ b/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)