aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/snapopen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/snapopen.lua')
-rw-r--r--modules/textadept/snapopen.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/snapopen.lua b/modules/textadept/snapopen.lua
index 3ccfe376..67da1ff1 100644
--- a/modules/textadept/snapopen.lua
+++ b/modules/textadept/snapopen.lua
@@ -154,7 +154,8 @@ function M.open(utf8_paths, filter, exclude_PATHS, exclude_FILTER, depth)
'--informative-text',
string.format('%d %s %d', M.MAX,
_L['files or more were found. Showing the first'],
- M.MAX))
+ M.MAX),
+ '--button1', _L['_OK'])
end
local utf8_filenames = gui.filteredlist(_L['Open'], _L['File'], list, false,
'--select-multiple') or ''