Fix copy/edit in c509c94824

This commit is contained in:
Robin Gareus
2020-02-20 19:10:28 +01:00
parent 4dc74813ef
commit 1d5be40801

View File

@@ -259,7 +259,7 @@ function factory (params) return function ()
--advance playhead so it's just after the newly added regions
if n_regions_created > 0 then
Session:request_locate (0, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI)
Session:request_locate (playhead + loop:length() * n_paste, ARDOUR.LocateTransportDisposition.MustStop, ARDOUR.TransportRequestSource.TRS_UI)
end
-- all done, commit the combined Undo Operation