mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where the text element metadata property could crash the application if set to 'emulator'.
This commit is contained in:
parent
c523ee05a8
commit
5f66cb80d8
|
@ -849,7 +849,7 @@ void GamelistView::updateView(const CursorState& state)
|
|||
else if (metadata == "altemulator")
|
||||
return file->metadata.get("altemulator");
|
||||
else if (metadata == "emulator")
|
||||
return (file->getType() == FOLDER) ?
|
||||
return (file->getType() == FOLDER || file->getType() == PLACEHOLDER) ?
|
||||
"" :
|
||||
(file->metadata.get("altemulator") != "" ?
|
||||
file->metadata.get("altemulator") :
|
||||
|
|
Loading…
Reference in a new issue