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

master
David Capello 2022-05-03 15:17:18 -03:00
parent debd22014c
commit db84c02e94
1 changed files with 1 additions and 1 deletions

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()