Fix problems with project files and project directories
Now treat coherently the case when the project directory is removed from the project directories.
This commit is contained in:
+4
-4
@@ -154,12 +154,12 @@ local function project_scan_thread()
|
||||
config.max_project_files.." files according to config.max_project_files.")
|
||||
end
|
||||
dir.files = t
|
||||
if dir.name == core.project_dir then
|
||||
include_project_dir = true
|
||||
core.project_files = t
|
||||
end
|
||||
core.redraw = true
|
||||
end
|
||||
if dir.name == core.project_dir then
|
||||
include_project_dir = true
|
||||
core.project_files = dir.files
|
||||
end
|
||||
end
|
||||
if not include_project_dir then
|
||||
core.project_files = core.project_files_empty
|
||||
|
||||
Reference in New Issue
Block a user