diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-12-29 17:14:46 +0100 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-12-29 17:14:46 +0100 |
| commit | ee2ad9b88bcda60cdff23a40bdb2d07071cdcc54 (patch) | |
| tree | 40c49db48d78b265949da294e928a64ec8b64018 | |
| parent | 3713f6d56a026e741f0a6eee2e261621cfc23ad2 (diff) | |
| download | lite-xl-ee2ad9b88bcda60cdff23a40bdb2d07071cdcc54.tar.gz lite-xl-ee2ad9b88bcda60cdff23a40bdb2d07071cdcc54.zip | |
Makrs deleted directory as not shown
Only in files_limit mode.
| -rw-r--r-- | data/core/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/core/init.lua b/data/core/init.lua index db30c929..bb6365b8 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -537,6 +537,9 @@ local function project_scan_remove_file(dir, filepath) local index, match = file_search(dir.files, fileinfo) if match then table.remove(dir.files, index) + if filetype == "dir" and dir.files_limit then + dir.shown_subdir[filepath] = nil + end dir.is_dirty = true return end |
