Fixed an issue when the user added a directory in the project that already existed

This commit is contained in:
George Sokianos 2022-08-29 20:28:33 +01:00
parent 7b51ee99de
commit 283f1d0837
2 changed files with 3 additions and 0 deletions

View File

@ -200,6 +200,8 @@ https://git.walkero.gr/walkero/lite-xl/issues
- Fixed non existing path crashes on OS4
- Fixed editor refresh whenever init.lua is changed, no matter the working
folder
- Fixed an issue when the user added a directory in the project that
already existed
## [2.0.3r2] - 2022-06-18
### Added

View File

@ -350,6 +350,7 @@ function core.add_project_directory(path)
core.project_files = dir.files
end
core.redraw = true
return dir
end