mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:09:04 +08:00
Don't show "nozzle" on Materials page when there are no variants
This commit is contained in:
parent
c32700b7b4
commit
320cddb073
@ -47,7 +47,17 @@ UM.ManagementPage
|
||||
return -1;
|
||||
}
|
||||
|
||||
scrollviewCaption: "Printer: %1, Nozzle: %2".arg(Cura.MachineManager.activeMachineName).arg(Cura.MachineManager.activeVariantName)
|
||||
scrollviewCaption:
|
||||
{
|
||||
if (Cura.MachineManager.hasVariants)
|
||||
{
|
||||
catalog.i18nc("@action:label %1 is printer name, %2 is how this printer names variants, %3 is variant name", "Printer: %1, %2: %3").arg(Cura.MachineManager.activeMachineName).arg(Cura.MachineManager.activeDefinitionVariantsName).arg(Cura.MachineManager.activeVariantName)
|
||||
}
|
||||
else
|
||||
{
|
||||
catalog.i18nc("@action:label %1 is printer name","Printer: %1").arg(Cura.MachineManager.activeMachineName)
|
||||
}
|
||||
}
|
||||
detailsVisible: true
|
||||
|
||||
section.property: "section"
|
||||
|
Loading…
x
Reference in New Issue
Block a user