mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Subscribe the user to a reinstalled package again
Contributes to CURA-8587
This commit is contained in:
parent
447e0443a2
commit
020313da25
1 changed files with 3 additions and 0 deletions
|
|
@ -275,6 +275,9 @@ class PackageList(ListModel):
|
||||||
"""
|
"""
|
||||||
if not self._package_manager.reinstallPackage(package_id):
|
if not self._package_manager.reinstallPackage(package_id):
|
||||||
self.download(package_id, url, False)
|
self.download(package_id, url, False)
|
||||||
|
else:
|
||||||
|
package = self.getPackageModel(package_id)
|
||||||
|
self.subscribeUserToPackage(package_id, str(package.sdk_version))
|
||||||
|
|
||||||
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…
Add table
Add a link
Reference in a new issue