aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-03-28 09:52:09 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2014-03-28 09:52:09 -0400
commit86ad6f9cc48f06dca8fc6235a10715c947eadc92 (patch)
tree8eb93d3af962a1a82813f6ae5d25f5bcd4cdfb4c /modules
parent7785897657cd9c3a5e1483ebacad73939f375a7e (diff)
downloadtextadept-86ad6f9cc48f06dca8fc6235a10715c947eadc92.tar.gz
textadept-86ad6f9cc48f06dca8fc6235a10715c947eadc92.zip
Added more documentation on project building.
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/run.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index 3170b5aa..c77a7a0c 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -78,8 +78,9 @@ local function command(commands, event)
local lfs_attributes = lfs.attributes
for build_file, build_command in pairs(commands) do
if lfs_attributes(cwd..'/'..build_file) then
- local button, cmd = ui.dialogs.standard_inputbox{
- title = _L['Command'], informative_text = cwd, text = build_command
+ local button, cmd = ui.dialogs.inputbox{
+ title = _L['Command'], informative_text = cwd, text = build_command,
+ button1 = _L['_OK'], button2 = _L['_Cancel']
}
if button == 1 then command = cmd end
break