Merge branch '3.4'

This commit is contained in:
Ghostkeeper 2018-06-06 10:59:14 +02:00
commit 4b581d09e7
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
3 changed files with 44 additions and 17 deletions

View file

@ -148,9 +148,22 @@ UM.Dialog
{
height: childrenRect.height
width: parent.width
Label
Label
{
text: catalog.i18nc("@action:label", "Extruder %1").arg(modelData)
text: {
var extruder = Number(modelData)
var extruder_id = ""
if(!isNaN(extruder))
{
extruder_id = extruder + 1 // The extruder counter start from One and not Zero
}
else
{
extruder_id = modelData
}
return catalog.i18nc("@action:label", "Extruder %1").arg(extruder_id)
}
font.bold: true
}
Row

View file

@ -34,6 +34,7 @@ retraction_hop_enabled
[cooling]
cool_fan_enabled
cool_fan_speed
[support]
support_enable