mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Allow printer output devices to set their ability to update firmware
This commit is contained in:
parent
c1d7ca7bff
commit
4bea1410b8
5 changed files with 40 additions and 17 deletions
|
|
@ -29,8 +29,6 @@ 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