fixed virtual folders (fixes #855)

This commit is contained in:
Thomas Jentzsch 2021-12-19 09:05:10 +01:00
parent a952bef910
commit bfc59ddcc3
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void LauncherFileListWidget::extendLists(StringList& list)
// Only show virtual dirs in "romdir". Except if
// "romdir" is virtual or "romdir" is a ZIP
// Then show virtual dirs in parent dir of "romdir".
if(myRomDir == startRomDir()
if(_node.getPath() == startRomDir()
&& (myInVirtualDir || BSPF::endsWithIgnoreCase(_node.getPath(), ".zip")))
{
myRomDir = _node.getParent().getPath();