Cleanup and simplify toolbox plugin update

This commit is contained in:
Jack Ha 2018-05-14 16:11:44 +02:00
parent 0f0b6a9712
commit 1f088aabc4
3 changed files with 10 additions and 20 deletions

View file

@ -194,11 +194,6 @@ class CuraPackageManager(QObject):
return
package_id = package_info["package_id"]
# # Check the delayed installation and removal lists first
# if package_id in self._to_remove_package_set:
# self._to_remove_package_set.remove(package_id)
# has_changes = True
# Check if it is installed
installed_package_info = self.getInstalledPackageInfo(package_info["package_id"])
to_install_package = installed_package_info is None # Install if the package has not been installed