mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where the GridComponent layout was not calculated if there was only a placeholder entry.
This commit is contained in:
parent
56b33c5371
commit
2d24230a48
|
@ -707,13 +707,14 @@ void GamelistBase::populateList(const std::vector<FileData*>& files, FileData* f
|
|||
mTextList->addEntry(textListEntry);
|
||||
}
|
||||
}
|
||||
if (mGrid != nullptr)
|
||||
mGrid->calculateLayout();
|
||||
}
|
||||
else {
|
||||
addPlaceholder(firstEntry);
|
||||
}
|
||||
|
||||
if (mGrid != nullptr)
|
||||
mGrid->calculateLayout();
|
||||
|
||||
generateGamelistInfo(getCursor(), firstEntry);
|
||||
generateFirstLetterIndex(files);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue