aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/session.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 /modules/textadept/session.lua
parent31b82a923889c134dfaa1cb6b6fd1e2e9aab8257 (diff)
downloadtextadept-da1784e604f4683665aec54b2dc42dbbdbd98c3b.tar.gz
textadept-da1784e604f4683665aec54b2dc42dbbdbd98c3b.zip
Removed useless gui.dialog() options for fileopen/filesave.
Diffstat (limited to 'modules/textadept/session.lua')
-rw-r--r--modules/textadept/session.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua
index 05b7ff58..35ecf9be 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -40,8 +40,6 @@ M.MAX_RECENT_FILES = 10
function M.load(filename)
filename = filename or gui.dialog('fileselect',
'--title', _L['Load Session'],
- '--button1', _L['_Open'],
- '--button2', _L['_Cancel'],
'--with-directory',
M.DEFAULT_SESSION:match('.+[/\\]') or '',
'--with-file',
@@ -132,8 +130,6 @@ end)
function M.save(filename)
filename = filename or gui.dialog('filesave',
'--title', _L['Save Session'],
- '--button1', _L['_Save'],
- '--button2', _L['_Cancel'],
'--with-directory',
M.DEFAULT_SESSION:match('.+[/\\]') or '',
'--with-file',