Add canUpdateFirmware property to printer output devices

This commit is contained in:
fieldOfView 2018-08-08 15:53:26 +02:00
parent 339987be9d
commit 688a5083d2
5 changed files with 11 additions and 1 deletions

View file

@ -16,6 +16,7 @@ Cura.MachineAction
anchors.fill: parent;
property bool printerConnected: Cura.MachineManager.printerConnected
property var activeOutputDevice: printerConnected ? Cura.MachineManager.printerOutputDevices[0] : null
property var canUpdateFirmware: activeOutputDevice ? activeOutputDevice.canUpdateFirmware : False
Item
{