mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 12:05:38 +00:00
Fixed an issue where the text element defaultValue property no longer worked correctly
This commit is contained in:
parent
9d64a2feab
commit
904a8f5c5d
|
@ -392,7 +392,7 @@ void TextComponent::render(const glm::mat4& parentTrans)
|
|||
|
||||
void TextComponent::setValue(const std::string& value)
|
||||
{
|
||||
if (value == "unknown" && mDefaultValue != "" &&
|
||||
if (value == _p("theme", "unknown") && mDefaultValue != "" &&
|
||||
(mThemeMetadata == "developer" || mThemeMetadata == "publisher" ||
|
||||
mThemeMetadata == "genre" || mThemeMetadata == "players")) {
|
||||
setText(mDefaultValue);
|
||||
|
|
Loading…
Reference in a new issue