filechooser: fix bug with "unreadable content" (#10283)

reviewable/pr10285/r1
hius07 1 year ago committed by GitHub
parent 5648c942c1
commit b98fee3dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -405,7 +405,7 @@ function FileChooser:changeToPath(path, focused_path)
end
if not unreadable_dir_content[path][focused_path] then
unreadable_dir_content[path][focused_path] = {
name = focused_path:sub(#path+2),
text = focused_path:sub(#path+2),
fullpath = focused_path,
attr = lfs.attributes(focused_path),
}

Loading…
Cancel
Save