Commit 6b9628f8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't show "undefined" on the settings page if there's no extra info

parent 629f4787
......@@ -190,7 +190,7 @@ DiscoverPage {
}
}
QQC2.Label {
text: display + " - <i>" + toolTip + "</i>"
text: display + (toolTip ? " - <i>" + toolTip + "</i>" : "")
elide: Text.ElideRight
Layout.fillWidth: true
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment