mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Metadata fields are now hidden for placeholders.
This commit is contained in:
parent
0955b1cf1b
commit
0e59654399
|
@ -257,6 +257,12 @@ void DetailedGameListView::updateInfoPanel()
|
||||||
hideMetaDataFields = true;
|
hideMetaDataFields = true;
|
||||||
else
|
else
|
||||||
hideMetaDataFields = (file->metadata.get("hidemetadata") == "true");
|
hideMetaDataFields = (file->metadata.get("hidemetadata") == "true");
|
||||||
|
|
||||||
|
// Always hide the metadata fields for placeholders as well.
|
||||||
|
if (file->getType() == PLACEHOLDER) {
|
||||||
|
hideMetaDataFields = true;
|
||||||
|
mLastUpdated = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we're scrolling, hide the metadata fields if the last game had this options set,
|
// If we're scrolling, hide the metadata fields if the last game had this options set,
|
||||||
|
|
|
@ -282,6 +282,12 @@ void VideoGameListView::updateInfoPanel()
|
||||||
hideMetaDataFields = true;
|
hideMetaDataFields = true;
|
||||||
else
|
else
|
||||||
hideMetaDataFields = (file->metadata.get("hidemetadata") == "true");
|
hideMetaDataFields = (file->metadata.get("hidemetadata") == "true");
|
||||||
|
|
||||||
|
// Always hide the metadata fields for placeholders as well.
|
||||||
|
if (file->getType() == PLACEHOLDER) {
|
||||||
|
hideMetaDataFields = true;
|
||||||
|
mLastUpdated = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we're scrolling, hide the metadata fields if the last game had this options set,
|
// If we're scrolling, hide the metadata fields if the last game had this options set,
|
||||||
|
|
Loading…
Reference in a new issue