logic: Fixed crash when Project Paths contain files and lazy include search in enabled
bug id = 201
This commit is contained in:
@@ -200,7 +200,7 @@ std::vector<FilePath> FileSystem::getSubDirectories(const FilePath &path)
|
||||
{
|
||||
std::vector<FilePath> v;
|
||||
|
||||
if (!path.exists())
|
||||
if (!path.exists() || !path.isDirectory())
|
||||
{
|
||||
return v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user