fixed virtual folders (fixes #855)

This commit is contained in:
Thomas Jentzsch 2021-12-19 09:05:10 +01:00
parent 0c9a0f2216
commit 7c3dd3f2aa
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 // Only show virtual dirs in "romdir". Except if
// "romdir" is virtual or "romdir" is a ZIP // "romdir" is virtual or "romdir" is a ZIP
// Then show virtual dirs in parent dir of "romdir". // Then show virtual dirs in parent dir of "romdir".
if(myRomDir == startRomDir() if(_node.getPath() == startRomDir()
&& (myInVirtualDir || BSPF::endsWithIgnoreCase(_node.getPath(), ".zip"))) && (myInVirtualDir || BSPF::endsWithIgnoreCase(_node.getPath(), ".zip")))
{ {
myRomDir = _node.getParent().getPath(); myRomDir = _node.getParent().getPath();