diff options
author | fieldOfView <aldo@fieldofview.com> | 2018-08-08 16:53:26 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2018-08-08 16:53:26 +0300 |
commit | 688a5083d223b84067d9c4b6a7ccc301b6618db1 (patch) | |
tree | 1503440abf2cb6c3cb30241a88aea5a9d40d4487 /plugins/UltimakerMachineActions | |
parent | 339987be9d3a7cf80d7932c49cd418009e9182df (diff) |
Add canUpdateFirmware property to printer output devices
Diffstat (limited to 'plugins/UltimakerMachineActions')
-rw-r--r-- | plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml b/plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml index ed771d2a04..03c17cd811 100644 --- a/plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml +++ b/plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml @@ -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 { |