check if rv != nil, so it can still be run again if the user bails.

This commit is contained in:
Nikolaus Gullotta 2018-07-16 12:56:46 -05:00
parent 65e5152c6f
commit 7496f06fa3

View file

@ -17,7 +17,7 @@ function factory () return function ()
}
local rv = LuaDialog.Dialog("Change all Meter Taps:", dialog_options):run()
if rv then
meter_point = rv['select']
if rv['select-tracks'] then
local sel = Editor:get_selection ()
@ -45,5 +45,6 @@ function factory () return function ()
end
end
end
end
end end