Allow DigitalFactory bundled-plugin to autoselect format on save.

There was an earlier implementation of this, which was hacky, and didn't work anymore.

CURA-11958
This commit is contained in:
Remco Burema 2024-07-17 18:05:33 +02:00
parent 1c244f0a83
commit 39d9ab7afb
2 changed files with 10 additions and 1 deletions

View file

@ -208,7 +208,7 @@ Item
anchors.rightMargin: UM.Theme.getSize("thin_margin").height
enabled: UM.Backend.state == UM.Backend.Done
currentIndex: UM.Backend.state == UM.Backend.Done ? dfFilenameTextfield.text.startsWith("MM")? 1 : 0 : 2
currentIndex: UM.Backend.state == UM.Backend.Done ? (Cura.MachineManager.activeMachine.getOutputFileFormats.includes("application/x-makerbot") ? 1 : 0) : 2
textRole: "text"
valueRole: "value"