mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed an issue with the quick selector when folders were sorted on top.
This commit is contained in:
parent
4e9c1361be
commit
6e2c8d4f32
|
@ -332,7 +332,8 @@ void GuiGamelistOptions::jumpToLetter()
|
|||
getParent()->getChildrenListToDisplay();
|
||||
|
||||
for (unsigned int i = 0; i < files.size(); i++) {
|
||||
if (mFavoritesSorting && mFirstLetterIndex.front() == FAVORITE_CHAR) {
|
||||
if (mFavoritesSorting && (mFirstLetterIndex.front() == FAVORITE_CHAR ||
|
||||
mFirstLetterIndex.front() == FOLDER_CHAR)) {
|
||||
if ((char)toupper(files.at(i)->getSortName().front()) ==
|
||||
letter && !files.at(i)->getFavorite()) {
|
||||
if (!mOnlyHasFolders && mFoldersOnTop && files.at(i)->getType() == FOLDER) {
|
||||
|
|
Loading…
Reference in a new issue