mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Hide "Type" label when no printer is selected on the manager printers page
This commit is contained in:
parent
9b4383f361
commit
0d9d4b88ce
1 changed files with 8 additions and 2 deletions
|
@ -125,8 +125,14 @@ UM.ManagementPage
|
|||
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
Label { text: catalog.i18nc("@label", "Type"); visible: base.currentItem }
|
||||
Label { text: (base.currentItem && base.currentItem.metadata) ? base.currentItem.metadata.definition_name : "" }
|
||||
Label
|
||||
{
|
||||
text: catalog.i18nc("@label", "Type")
|
||||
visible: base.currentItem && base.currentItem.metadata
|
||||
}
|
||||
Label {
|
||||
text: (base.currentItem && base.currentItem.metadata) ? base.currentItem.metadata.definition_name : ""
|
||||
}
|
||||
}
|
||||
|
||||
UM.I18nCatalog { id: catalog; name: "uranium"; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue