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), }