From 1ed0ce0c2117926711acb3d607fd6a34ecb02fe9 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 25 Feb 2017 14:57:30 +0100 Subject: [PATCH] FileManager: fix up arrow issue --- frontend/ui/widget/filechooser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/ui/widget/filechooser.lua b/frontend/ui/widget/filechooser.lua index 07a586349..632a22311 100644 --- a/frontend/ui/widget/filechooser.lua +++ b/frontend/ui/widget/filechooser.lua @@ -154,7 +154,7 @@ function FileChooser:genItemTableFromPath(path) end table.sort(dirs, sorting) - if path ~= "/" then table.insert(dirs, 1, {name = "⬆ .."}) end + if path ~= "/" then table.insert(dirs, 1, {name = ".."}) end table.sort(files, sorting) local item_table = {} @@ -172,7 +172,7 @@ function FileChooser:genItemTableFromPath(path) istr = util.template(_("%1 items"), num_items) end table.insert(item_table, { - text = dir.name.."/", + text = dir.name == ".." and "⬆ ../" or dir.name.."/", mandatory = istr, path = subdir_path })