mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
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:
parent
1c244f0a83
commit
39d9ab7afb
2 changed files with 10 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue