mirror of
https://github.com/nucular/sfxrlua.git
synced 2024-12-24 18:44:20 +00:00
Fix save as Lua button
This commit is contained in:
parent
7a542bb531
commit
43f931ebae
2
main.lua
2
main.lua
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user