mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix an issue that kept the plugins in the "installed" list despite of
already being removed from the data folder.
This commit is contained in:
parent
fa97d5830b
commit
527f269b5d
2 changed files with 1 additions and 1 deletions
|
@ -97,6 +97,7 @@ class CuraPackageManager(QObject):
|
|||
def _removeAllScheduledPackages(self) -> None:
|
||||
for package_id in self._to_remove_package_set:
|
||||
self._purgePackage(package_id)
|
||||
del self._installed_package_dict[package_id]
|
||||
self._to_remove_package_set.clear()
|
||||
self._saveManagementData()
|
||||
|
||||
|
|
|
@ -251,7 +251,6 @@ class Toolbox(QObject, Extension):
|
|||
|
||||
@pyqtSlot()
|
||||
def restart(self):
|
||||
self._package_manager._removeAllScheduledPackages()
|
||||
CuraApplication.getInstance().windowClosed()
|
||||
|
||||
# Checks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue