Prevent preheat timeout from occurring during a print

This commit is contained in:
fieldOfView 2018-04-04 13:47:40 +02:00
parent 836cba9c03
commit bc84c1f6e6
2 changed files with 17 additions and 0 deletions

View file

@ -96,6 +96,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
if self._is_printing:
return # Aleady printing
# cancel any ongoing preheat timer before starting a print
self._printers[0].stopPreheatTimers()
Application.getInstance().getController().setActiveStage("MonitorStage")
# find the G-code for the active build plate to print