Canceling sending job to cluster no longer results in "still sending print" message.

Previously it would always show this, requiring a restart of Cura before print could be sent. CL-913
This commit is contained in:
Jaime van Kessel 2018-05-31 11:52:36 +02:00
parent 33e49bebbe
commit 416f695610
2 changed files with 5 additions and 0 deletions

View file

@ -148,6 +148,10 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
def selectPrinter(self, target_printer: str = "") -> None:
self._sending_job.send(target_printer)
@pyqtSlot()
def cancelPrintSelection(self) -> None:
self._sending_gcode = False
## Greenlet to send a job to the printer over the network.
#
# This greenlet gets called asynchronously in requestWrite. It is a