Merge pull request #16 from pgimeno/fix-save-as-lua-button

Fix save as Lua button (thanks, @pgimeno !)
This commit is contained in:
nucular 2016-01-04 00:07:33 +01:00
commit 822323c8bf

View File

@ -467,7 +467,7 @@ function createActionButtons()
local lb = lf.Create("button") local lb = lf.Create("button")
:SetText("Load Lua") :SetText("Load Lua")
:SetWidth(67) :SetWidth(67)
sb.OnClick = loadHandler("lua", function(f) sound:load(f) end) lb.OnClick = loadHandler("lua", function(f) sound:load(f) end)
f:AddItem(lb) f:AddItem(lb)
local bsb = lf.Create("button") local bsb = lf.Create("button")