Skip to content

Commit

Permalink
Printer name changed to printer type
Browse files Browse the repository at this point in the history
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
  • Loading branch information
saumyaj3 committed Jan 3, 2024
1 parent 6aaee84 commit 1e230ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def isMethod(self) -> bool:
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:
Expand Down

0 comments on commit 1e230ff

Please sign in to comment.