diff options
author | Pixel <pixel@nobis-crew.org> | 2009-12-28 14:05:16 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-12-28 14:05:16 +0100 |
commit | dd4d0d5131f3cd079ec052a058c7f2ad19130348 (patch) | |
tree | 89655a7c8e156dadf58681c710cb8fb13a8fa783 /dalos-luafilter.lua | |
parent | 28bddffd5991251e2c69b60b3c7d9c551043784e (diff) |
Adding textviewer, and doing a few minor tweaks.
Diffstat (limited to 'dalos-luafilter.lua')
-rw-r--r-- | dalos-luafilter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dalos-luafilter.lua b/dalos-luafilter.lua index 9c87f93..297441e 100644 --- a/dalos-luafilter.lua +++ b/dalos-luafilter.lua @@ -120,7 +120,7 @@ end local bok = iup.button { title = "Ok", action = function () okay = true return iup.CLOSE end } local bimport = iup.button { title = "Import", action = function() self:load_template() return iup.CLOSE end } local bexport = iup.button { title = "Export", action = function() self:save_template(self:gen_template()) end } - local busetpl = iup.button { title = "Use Template", action = function() self:use_template() end } + local busetpl = iup.button { title = "Use Template", action = function() self:use_template(dalosp.luafilter.templates) end } local bcancel = iup.button { title = "Cancel", action = function () okay = false return iup.CLOSE end } local dlg = iup.dialog { iup.vbox { text, iup.hbox { bok, bimport, bexport, busetpl, iup.fill{}, bcancel, normalizesize = "Horizontal" } }, title = "Code for " .. self.name, size = "600x300" } local r = dlg:popup() |