diff options
author | 2010-10-11 15:11:02 -0400 | |
---|---|---|
committer | 2010-10-11 15:11:02 -0400 | |
commit | fbc722360864470cfe5fc2afafd148e874f40c71 (patch) | |
tree | dc383dc98bcfa5872fa18a7e204e75531932c975 /core/gui.lua | |
parent | b235c7d1e3d738d839915ba922b25acea03e182a (diff) | |
download | textadept-fbc722360864470cfe5fc2afafd148e874f40c71.tar.gz textadept-fbc722360864470cfe5fc2afafd148e874f40c71.zip |
gui.dialog() can take tables of strings as arguments.
Diffstat (limited to 'core/gui.lua')
-rw-r--r-- | core/gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua index 9f49be19..3baba198 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -66,7 +66,7 @@ function gui.switch_buffer() '--button2', 'gtk-cancel', '--no-newline', '--columns', 'Name', 'File', - '--items', unpack(items)) + '--items', items) local i = tonumber(out:match('%-?%d+$')) if i and i >= 0 then view:goto_buffer(i + 1, true) end end |