Create a function that given a printer type name, it will return and

abbreviated name.

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-22 15:45:38 +01:00
parent 5c30df2a68
commit 692868a0b4
3 changed files with 23 additions and 16 deletions

View file

@ -65,7 +65,7 @@ Button
model: printerTypesList
delegate: Cura.PrinterTypeLabel
{
text: modelData
text: Cura.MachineManager.getAbbreviatedMachineName(modelData)
}
}
}