fixed uppercase search in launcher

This commit is contained in:
Thomas Jentzsch 2021-11-25 18:58:06 +01:00
parent 0e62b68b17
commit 0ed35a75d4
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ bool FileListWidget::handleText(char text)
{
if(BSPF::startsWithIgnoreCase(i, _quickSelectStr))
// Select directories when the first character is uppercase
if(std::isupper(_quickSelectStr[0]) ==
if((std::isupper(_quickSelectStr[0]) != 0) ==
(_iconList[selectedItem] == IconType::directory))
break;
selectedItem++;