mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
Fix crash accessing an invalid iterator in FileSelector::onRefreshFolder()
This commit is contained in:
parent
debd22014c
commit
db84c02e94
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user