diff --git a/share/scripts/send_to_bus.lua b/share/scripts/send_to_bus.lua index 95a13f95ca..c03c9f9ead 100644 --- a/share/scripts/send_to_bus.lua +++ b/share/scripts/send_to_bus.lua @@ -12,6 +12,7 @@ function factory () return function () chn = mst:n_inputs ():n_audio () end mst = nil -- explicitly drop reference + if chn = 0 then chn = 2; end local sel = Editor:get_selection () -- get selection local tracks = ARDOUR.RouteListPtr () -- create a new list