mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 17:45:56 +08:00
Add Ultimaker S5 for printer type detection
CURA-5221
This commit is contained in:
parent
95a26837b6
commit
f92985b4ac
@ -255,7 +255,12 @@ Cura.MachineAction
|
|||||||
} else if(base.selectedDevice.printerType == "ultimaker3_extended")
|
} else if(base.selectedDevice.printerType == "ultimaker3_extended")
|
||||||
{
|
{
|
||||||
return catalog.i18nc("@label", "Ultimaker 3 Extended")
|
return catalog.i18nc("@label", "Ultimaker 3 Extended")
|
||||||
} else
|
}
|
||||||
|
else if (base.selectedDevice.printerType == "ultimaker_s5")
|
||||||
|
{
|
||||||
|
return catalog.i18nc("@label", "Ultimaker S5")
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
return catalog.i18nc("@label", "Unknown") // We have no idea what type it is. Should not happen 'in the field'
|
return catalog.i18nc("@label", "Unknown") // We have no idea what type it is. Should not happen 'in the field'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user