Skip to content

Commit

Permalink
Fix notification display
Browse files Browse the repository at this point in the history
98602d9 broke string replacement should the text being replaced be empty...
  • Loading branch information
jyavenard committed Jul 12, 2013
1 parent cae0b20 commit 27c9c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythuitext.cpp
Expand Up @@ -176,7 +176,7 @@ void MythUIText::SetTextFromMap(QHash<QString, QString> &map)
QString key = regexp.cap(4).toLower().trimmed();
QString replacement;

if (!map.value(key).isEmpty())
if (map.contains(key))
{
replacement = QString("%1%2%3%4")
.arg(regexp.cap(2))
Expand Down

0 comments on commit 27c9c10

Please sign in to comment.