Fix crash accessing an invalid iterator in FileSelector::onRefreshFolder()

This commit is contained in:
David Capello 2022-05-03 15:17:18 -03:00
parent debd22014c
commit db84c02e94

View File

@ -880,7 +880,7 @@ void FileSelector::onGoUp()
void FileSelector::onRefreshFolder()
{
refresh();
m_fileList->setCurrentFolder(*navigation_position.get());
m_fileList->setCurrentFolder(m_fileList->currentFolder());
}
void FileSelector::onNewFolder()