mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Automatically show the Print Monitor when starting a print
CURA-1036
This commit is contained in:
parent
6800991fa1
commit
087ebc0768
3 changed files with 11 additions and 1 deletions
|
@ -365,6 +365,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
self.onError.emit()
|
||||
|
||||
def requestWrite(self, node, file_name = None, filter_by_machine = False):
|
||||
Application.getInstance().showPrintMonitor.emit(True)
|
||||
self.startPrint()
|
||||
|
||||
def _setEndstopState(self, endstop_key, value):
|
||||
|
@ -516,6 +517,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
self._is_printing = False
|
||||
self._is_paused = False
|
||||
self._updateJobState("ready")
|
||||
Application.getInstance().showPrintMonitor.emit(False)
|
||||
|
||||
## Check if the process did not encounter an error yet.
|
||||
def hasError(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue