mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 01:19:01 +08:00
Ensure that writeStarted is called when attempting to print via USB
This commit is contained in:
parent
eae8e80923
commit
9a3d9dd2c1
@ -115,7 +115,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||
def requestWrite(self, nodes, file_name = None, filter_by_machine = False, file_handler = None, **kwargs):
|
||||
if self._is_printing:
|
||||
return # Aleady printing
|
||||
|
||||
self.writeStarted.emit(self)
|
||||
# cancel any ongoing preheat timer before starting a print
|
||||
self._printers[0].getController().stopPreheatTimers()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user