mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Merge remote-tracking branch 'origin/master' into CURA-6983_sync_packages
# Conflicts: # plugins/Toolbox/src/CloudSync/SubscribedPackagesModel.py # plugins/Toolbox/src/Toolbox.py
This commit is contained in:
commit
182bab6467
44 changed files with 343 additions and 161 deletions
|
@ -528,6 +528,11 @@ class Toolbox(QObject, Extension):
|
|||
populated += 1
|
||||
return populated == len(self._server_response_data.items())
|
||||
|
||||
@pyqtSlot(str)
|
||||
def dismissIncompatiblePackage(self, package_id: str):
|
||||
self._models["subscribed_packages"].dismissPackage(package_id) # sets "is_compatible" to True, in-memory
|
||||
self._package_manager.dismissPackage(package_id) # adds this package_id as dismissed in the user config file
|
||||
|
||||
# Make API Calls
|
||||
# --------------------------------------------------------------------------
|
||||
def _makeRequestByType(self, request_type: str) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue