Makerbot file formats don't just have 1 mimetype.

There are machines with other mime-types. Prepare for adding that one.

last step of CURA-11957 (otherwise solved by previous efforts)
This commit is contained in:
Remco Burema 2024-08-06 15:47:28 +02:00
parent 418c462df2
commit 89209f5f9a

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 ? (Cura.MachineManager.activeMachine.getOutputFileFormats.includes("application/x-makerbot") ? 1 : 0) : 2
currentIndex: UM.Backend.state == UM.Backend.Done ? ((Cura.MachineManager.activeMachine.getOutputFileFormats.includes("application/x-makerbot") || Cura.MachineManager.activeMachine.getOutputFileFormats.includes("application/x-makerbot-sketch")) ? 1 : 0) : 2
textRole: "text"
valueRole: "value"