diff --git a/src/core/utilities.cpp b/src/core/utilities.cpp index b66e7a4f0..22fe61924 100644 --- a/src/core/utilities.cpp +++ b/src/core/utilities.cpp @@ -930,6 +930,9 @@ QString ReplaceMessage(const QString &message, const Song &song, const QString & pos += variable_replacer.matchedLength(); } + int index_of = copy.indexOf(QRegExp(" - (>|$)")); + if (index_of >= 0) copy = copy.remove(index_of, 3); + return copy; }