Adding functionality to the manageButtons

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-02 08:21:57 +01:00
parent 327b434788
commit ff5a4a4f5a
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
4 changed files with 34 additions and 4 deletions

View file

@ -133,6 +133,7 @@ class RemotePackageList(PackageList):
continue # We should only show packages which are not already installed
try:
package = PackageModel(package_data, parent = self)
self._connectManageButtonSignals(package)
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