Fix crash when loading ROMs into ROM launcher under certain circumstances.

This commit is contained in:
Stephen Anthony 2020-12-04 14:35:10 -03:30
parent b990bf2f68
commit f563ed0870
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void FileListWidget::setLocation(const FilesystemNode& node,
// Now fill the list widget with the names from the file list,
// even if cancelled
StringList l;
size_t orgLen = node.getShortPath().length();
size_t orgLen = _node.getShortPath().length();
_dirList.clear();
for(const auto& file : _fileList)