mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add canUpdateFirmware property to printer output devices
This commit is contained in:
parent
339987be9d
commit
688a5083d2
5 changed files with 11 additions and 1 deletions
|
@ -29,6 +29,8 @@ class GenericOutputController(PrinterOutputController):
|
|||
self._output_device.printersChanged.connect(self._onPrintersChanged)
|
||||
self._active_printer = None
|
||||
|
||||
self.can_update_firmware = True
|
||||
|
||||
def _onPrintersChanged(self):
|
||||
if self._active_printer:
|
||||
self._active_printer.stateChanged.disconnect(self._onPrinterStateChanged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue