Move getDefaultFirmwareName() into GlobalStack

This commit is contained in:
fieldOfView 2018-09-28 11:49:00 +02:00
parent 9a98341bda
commit bc52830c89
3 changed files with 29 additions and 34 deletions

View file

@ -51,7 +51,7 @@ Cura.MachineAction
anchors.horizontalCenter: parent.horizontalCenter
width: childrenRect.width
spacing: UM.Theme.getSize("default_margin").width
property var firmwareName: Cura.MachineManager.getDefaultFirmwareName()
property var firmwareName: Cura.MachineManager.activeMachine.getDefaultFirmwareName()
Button
{
id: autoUpgradeButton