mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 12:59:00 +08:00
Remove dash if plug-in author is empty
Contributes to issue CURA-4477.
This commit is contained in:
parent
7404df66ac
commit
9ad0fd2b83
@ -114,7 +114,7 @@ UM.Dialog
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
Label
|
||||
{
|
||||
text: "<b>" + model.name + "</b> - " + model.author
|
||||
text: "<b>" + model.name + "</b>" + ((model.author !== "") ? (" - " + model.author) : "")
|
||||
width: contentWidth
|
||||
height: contentHeight + UM.Theme.getSize("default_margin").height
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
Loading…
x
Reference in New Issue
Block a user