made button a local variable

This commit is contained in:
Bill Ferguson
2020-08-16 15:57:41 -04:00
parent a0a8a61d56
commit 650325257b

View File

@@ -285,7 +285,7 @@ local function deactivate(script, scriptname)
end
local function create_enable_disable_button(btext, sname, req)
button = dt.new_widget("button")
local button = dt.new_widget("button")
{
label = btext .. sname,
tooltip = get_script_doc(req),