Fix save as Lua button

This commit is contained in:
Pedro Gimeno 2016-01-02 14:54:57 +01:00
parent 7a542bb531
commit 43f931ebae

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")