mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -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
|
@ -37,13 +37,6 @@ class SubscribedPackagesModel(ListModel):
|
|||
return True
|
||||
return False
|
||||
|
||||
@pyqtSlot()
|
||||
def dismissPackage(self, package_id: str) -> None:
|
||||
package = self.find(key="package_id", value=package_id)
|
||||
if package != -1: # find() returns -1 if it doesn't finds what is looking for
|
||||
self.setProperty(package, property="is_dismissed", value=True)
|
||||
Logger.debug("Package {} has been dismissed".format(package_id))
|
||||
|
||||
def addDiscrepancies(self, discrepancy: List[str]) -> None:
|
||||
self._discrepancies = discrepancy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue