Fixed an issue where the quick selector would jump to the wrong folder for folder-only gamelists.

This commit is contained in:
Leon Styhre 2020-07-30 13:43:04 +02:00
parent 5f7ffe98c8
commit 0985867d0f

View file

@ -193,7 +193,8 @@ GuiGamelistOptions::~GuiGamelistOptions()
}
// Has the user changed the letter using the quick selector?
if ((mFoldersOnTop && getGamelist()->getCursor()->getType() == FOLDER) ||
if ((mFoldersOnTop && !mOnlyHasFolders &&
getGamelist()->getCursor()->getType() == FOLDER) ||
mCurrentFirstCharacter != mJumpToLetterList->getSelected()) {
if (mJumpToLetterList->getSelected() == FAVORITE_CHAR)
jumpToFirstRow();