From f563ed08703d4b0eefdcb2e4f122be0bc0d56246 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Fri, 4 Dec 2020 14:35:10 -0330 Subject: [PATCH] Fix crash when loading ROMs into ROM launcher under certain circumstances. --- src/gui/FileListWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/FileListWidget.cxx b/src/gui/FileListWidget.cxx index 613b05811..169b9cddb 100644 --- a/src/gui/FileListWidget.cxx +++ b/src/gui/FileListWidget.cxx @@ -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)