Merge pull request #17878 from Ultimaker/CURA-11432-fixing-ismethod-function

Printer name changed to printer type
This commit is contained in:
Casper Lamboo 2024-01-04 15:02:02 +01:00 committed by GitHub
commit 1ba34ec0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: