QML-UI: Do not show strange double dashes for trips in Divelist

This is a multi-part message in MIME format.
After fixing the regression (commit 9e9d220c98) strange double dashes
appeared in the Divelist headers for trips. Just suppress it.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Jan Mulder 2016-01-23 09:49:18 +01:00 committed by Dirk Hohndel
parent 8c709106e5
commit 3a33deeace

View file

@ -106,7 +106,7 @@ MobileComponents.Page {
MobileComponents.Heading {
id: sectionText
text: section
text: {section == "--" ? "" : section }
anchors {
top: parent.top
left: parent.left