Printer name changed to printer type

printer names can be different for same type of printer.
Also, printer type is coming from cloud here so the type search is changed accordingly

CURA-11432
This commit is contained in:
saumya.jain 2024-01-03 14:19:22 +01:00
parent 6aaee84b95
commit 1e230ffef1

View file

@ -331,7 +331,7 @@ class CloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
return False
[printer, *_] = self._printers
return printer.name in ("ultimaker_methodx", "ultimaker_methodxl")
return printer.type in ("MakerBot Method X", "MakerBot Method XL")
@pyqtProperty(bool, notify=_cloudClusterPrintersChanged)
def supportsPrintJobActions(self) -> bool: