mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Fix qml warning in Printers page after adding a printer
This commit is contained in:
parent
557044b11c
commit
7d48ad7872
1 changed files with 2 additions and 2 deletions
|
@ -129,10 +129,10 @@ UM.ManagementPage
|
|||
Label
|
||||
{
|
||||
text: catalog.i18nc("@label", "Type")
|
||||
visible: base.currentItem && base.currentItem.metadata
|
||||
visible: base.currentItem && "definition_name" in base.currentItem.metadata
|
||||
}
|
||||
Label {
|
||||
text: (base.currentItem && base.currentItem.metadata) ? base.currentItem.metadata.definition_name : ""
|
||||
text: (base.currentItem && "definition_name" in base.currentItem.metadata) ? base.currentItem.metadata.definition_name : ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue