image_path_in_ui : remove stray \n

This commit is contained in:
Jérémy Rosen
2015-06-10 14:42:55 +02:00
parent 21e624bd3c
commit 6bfabc0445

View File

@@ -41,7 +41,11 @@ local function reset_widget()
array[img.path] = true
end
for path in pairs(array) do
result = result.."\n"..path
if result == "" then
result = path
else
result = result.."\n"..path
end
end
main_label.label = result
end