Added signal to prevent window closing if USB printer is printing

CURA-5384
This commit is contained in:
Aleksei S 2018-07-11 13:23:30 +02:00
parent c36d089113
commit 596a7b7169
4 changed files with 83 additions and 1 deletions

View file

@ -435,6 +435,9 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
self._gcode_position += 1
def getIsPrinting(self)-> bool:
return self._is_printing
class FirmwareUpdateState(IntEnum):
idle = 0