mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Removed previous variants of the dismiss incompatible package functionality
CURA-7090
This commit is contained in:
parent
7ee8270b2e
commit
05e17843c6
3 changed files with 0 additions and 32 deletions
|
@ -28,11 +28,6 @@ class DiscrepanciesPresenter(QObject):
|
|||
assert self._dialog
|
||||
self._dialog.accepted.connect(lambda: self._onConfirmClicked(model))
|
||||
|
||||
@pyqtSlot("QVariant", str)
|
||||
def dismissIncompatiblePackage(self, model: SubscribedPackagesModel, package_id: str) -> None:
|
||||
model.dismissPackage(package_id) # update the model to update the view
|
||||
self._package_manager.dismissPackage(package_id) # adds this package_id as dismissed in the user config file
|
||||
|
||||
def _onConfirmClicked(self, model: SubscribedPackagesModel) -> None:
|
||||
# For now, all compatible packages presented to the user should be installed.
|
||||
# Later, we might remove items for which the user unselected the package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue