From 283f1d08372b013051d9514eab75110304504dfe Mon Sep 17 00:00:00 2001 From: George Sokianos Date: Mon, 29 Aug 2022 20:28:33 +0100 Subject: [PATCH] Fixed an issue when the user added a directory in the project that already existed --- README_Amiga.md | 2 ++ data/core/init.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/README_Amiga.md b/README_Amiga.md index ad9713ca..78bdff08 100644 --- a/README_Amiga.md +++ b/README_Amiga.md @@ -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 diff --git a/data/core/init.lua b/data/core/init.lua index 9114e01b..0d7c6555 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -350,6 +350,7 @@ function core.add_project_directory(path) core.project_files = dir.files end core.redraw = true + return dir end