Skip to content

Commit

Permalink
Better fix for #11664
Browse files Browse the repository at this point in the history
If the object name is contained in the map, then always set the text: this ensure that we have exactly the same behaviour as before.
  • Loading branch information
jyavenard committed Jul 12, 2013
1 parent 98602d9 commit cae0b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythuitext.cpp
Expand Up @@ -169,7 +169,7 @@ void MythUIText::SetTextFromMap(QHash<QString, QString> &map)
QCoreApplication::UnicodeUTF8);

QString tempString = translatedTemplate;
bool replaced = false;
bool replaced = map.contains(objectName());

while ((pos = regexp.indexIn(translatedTemplate, pos)) != -1)
{
Expand Down

0 comments on commit cae0b20

Please sign in to comment.