mirror of https://github.com/stella-emu/stella.git
fixed empty file listing bug
This commit is contained in:
parent
cafe2acbcf
commit
ddb6f49e59
|
@ -268,7 +268,7 @@ void BrowserDialog::show(string_view startpath,
|
|||
}
|
||||
|
||||
// Set start path
|
||||
if(_mode != Mode::Directories)
|
||||
if(_mode != Mode::Directories && !directory.empty())
|
||||
_fileList->setDirectory(FSNode(directory), fileName);
|
||||
else
|
||||
_fileList->setDirectory(FSNode(startpath));
|
||||
|
|
Loading…
Reference in New Issue