summaryrefslogtreecommitdiff
path: root/dalos-luafilter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dalos-luafilter.lua')
-rw-r--r--dalos-luafilter.lua2
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()