NK-92 - Fix when creating a new file

This commit is contained in:
emerycp
2023-08-01 17:16:48 -04:00
parent ff82a18587
commit b114d27ce2

View File

@@ -593,7 +593,10 @@ namespace Nuake
FileSystem::FilteredDirectories = FileSystem::SearchFilesWithKeyword(m_searchKeyWord, FileSystem::RootDirectory->fullPath);
RefreshFileBrowser();
// TODO: Fix when creating a new file
if(m_searchKeyWord.empty())
{
FileSystem::FilteredDirectories.clear();
}
}