Renamed recently_install to better depict the usage

This flag is an indication if the package. was recently un-/installed

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-08 14:46:34 +01:00
parent fd508342fe
commit e0ca0d5446
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
3 changed files with 11 additions and 11 deletions

View file

@ -124,7 +124,7 @@ class RemotePackageList(PackageList):
package = PackageModel(package_data, parent = self)
self._connectManageButtonSignals(package)
if package_id in self._manager.getPackagesToRemove() or package_id in self._manager.getPackagesToInstall():
package.is_recently_installed = True
package.installation_status_changed = True
self.appendItem({"package": package}) # Add it to this list model.
except RuntimeError:
# Setting the ownership of this object to not qml can still result in a RuntimeError. Which can occur when quickly toggling