From b98fee3dd0825e2d30cf3920b52f860471230d88 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Sat, 1 Apr 2023 20:32:59 +0300 Subject: [PATCH] filechooser: fix bug with "unreadable content" (#10283) --- frontend/ui/widget/filechooser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/widget/filechooser.lua b/frontend/ui/widget/filechooser.lua index 8277c8a74..198d9138c 100644 --- a/frontend/ui/widget/filechooser.lua +++ b/frontend/ui/widget/filechooser.lua @@ -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), }