mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Don't show "nozzle" on Materials page when there are no variants
This commit is contained in:
parent
c32700b7b4
commit
320cddb073
1 changed files with 11 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue