aboutsummaryrefslogtreecommitdiff
path: root/core/file_io.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-02-26 23:29:29 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-02-26 23:29:29 -0500
commitda1784e604f4683665aec54b2dc42dbbdbd98c3b (patch)
tree43dab3cb5f9f00a6ddcaf8ade09efa96f9df9fdb /core/file_io.lua
parent31b82a923889c134dfaa1cb6b6fd1e2e9aab8257 (diff)
downloadtextadept-da1784e604f4683665aec54b2dc42dbbdbd98c3b.tar.gz
textadept-da1784e604f4683665aec54b2dc42dbbdbd98c3b.zip
Removed useless gui.dialog() options for fileopen/filesave.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index 7243c172..fd45ac4c 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -149,8 +149,6 @@ function io.open_file(utf8_filenames)
utf8_filenames = utf8_filenames or
gui.dialog('fileselect',
'--title', _L['Open'],
- '--button1', _L['_Open'],
- '--button2', _L['_Cancel'],
'--select-multiple',
'--with-directory',
(buffer.filename or ''):match('.+[/\\]') or '')
@@ -282,8 +280,6 @@ local function save_as(buffer, utf8_filename)
if not utf8_filename then
utf8_filename = gui.dialog('filesave',
'--title', _L['Save'],
- '--button1', _L['_Save'],
- '--button2', _L['_Cancel'],
'--with-directory',
(buffer.filename or ''):match('.+[/\\]') or '',
'--with-file',