Changed showMonitorStage to setActiveStage

CL-541
This commit is contained in:
Jaime van Kessel 2017-12-15 15:46:15 +01:00
parent 35d3690b89
commit bd4797404d
3 changed files with 6 additions and 6 deletions

View file

@ -76,7 +76,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
if self._is_printing:
return # Aleady printing
Application.getInstance().showPrintMonitor.emit(True)
Application.getInstance().getController().setActiveStage("MonitorStage")
gcode_list = getattr(Application.getInstance().getController().getScene(), "gcode_list")
self._printGCode(gcode_list)