mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Added 'dismiss' link and logic for removing the item from the dialog
CURA-7090
This commit is contained in:
parent
e5f464f7e7
commit
c86cc3ae5a
3 changed files with 47 additions and 3 deletions
|
@ -556,6 +556,11 @@ class Toolbox(QObject, Extension):
|
|||
populated += 1
|
||||
return populated == len(self._server_response_data.items())
|
||||
|
||||
@pyqtSlot(str)
|
||||
def dismissIncompatiblePackage(self, package_id):
|
||||
print("---in toolbox: %s" % package_id)
|
||||
self._models["subscribed_packages"].setDismiss(package_id)
|
||||
|
||||
# Make API Calls
|
||||
# --------------------------------------------------------------------------
|
||||
def _makeRequestByType(self, request_type: str) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue