aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-14 14:53:19 -0400
committermitchell <70453897+orbitalquark@users.noreply.github.com>2021-04-14 14:53:19 -0400
commit8ff320ad70a5183acc2bd635dfef33a792bd7f5a (patch)
treeb44b3debb1f52857aaafab7f499a978c2686e170 /core/file_io.lua
parent61f0475bbacbe0d1c1492c5be6510fc144d3926f (diff)
downloadtextadept-8ff320ad70a5183acc2bd635dfef33a792bd7f5a.tar.gz
textadept-8ff320ad70a5183acc2bd635dfef33a792bd7f5a.zip
Addressed some minor Luacheck issues.
Not all shadowing warnings need to be fixed.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index 6760c4cd..627403e1 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -319,7 +319,8 @@ function io.open_recent_file()
table.remove(io.recent_files, i)
end
end
- local button, i = ui.dialogs.filteredlist{
+ local button
+ button, i = ui.dialogs.filteredlist{
title = _L['Open File'], columns = _L['Filename'], items = utf8_list
}
if button == 1 and i then io.open_file(io.recent_files[i]) end