mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added signal to prevent window closing if USB printer is printing
CURA-5384
This commit is contained in:
parent
c36d089113
commit
596a7b7169
4 changed files with 83 additions and 1 deletions
|
@ -435,6 +435,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
|||
|
||||
self._gcode_position += 1
|
||||
|
||||
def getIsPrinting(self)-> bool:
|
||||
return self._is_printing
|
||||
|
||||
|
||||
class FirmwareUpdateState(IntEnum):
|
||||
idle = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue