From 340916179ab28cf4672eedc1dc41d02977f3dcef Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Wed, 18 Apr 2018 12:00:44 +0200 Subject: [PATCH] Small typo fixes for preheat timeout CURA-5227 --- cura/PrinterOutput/GenericOutputController.py | 2 +- plugins/USBPrinting/USBPrinterOutputDevice.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/PrinterOutput/GenericOutputController.py b/cura/PrinterOutput/GenericOutputController.py index 45669ca08a..bfa3cfbc82 100644 --- a/cura/PrinterOutput/GenericOutputController.py +++ b/cura/PrinterOutput/GenericOutputController.py @@ -164,5 +164,5 @@ class GenericOutputController(PrinterOutputController): self._preheat_hotends_timer.stop() if self._preheat_bed_timer.isActive(): - self._active_printer.updateIsPreheating(False) + self._preheat_printer.updateIsPreheating(False) self._preheat_bed_timer.stop() diff --git a/plugins/USBPrinting/USBPrinterOutputDevice.py b/plugins/USBPrinting/USBPrinterOutputDevice.py index 74952ece6e..74c24e2fca 100644 --- a/plugins/USBPrinting/USBPrinterOutputDevice.py +++ b/plugins/USBPrinting/USBPrinterOutputDevice.py @@ -97,7 +97,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice): return # Aleady printing # cancel any ongoing preheat timer before starting a print - self._printers[0].stopPreheatTimers() + self._printers[0].getController().stopPreheatTimers() Application.getInstance().getController().setActiveStage("MonitorStage")