mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:49:02 +08:00
Hide "Type" label when no printer is selected on the manager printers page
This commit is contained in:
parent
9b4383f361
commit
0d9d4b88ce
@ -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…
x
Reference in New Issue
Block a user