13
0

Fix cut/copy section: ripple requires a region split

This commit is contained in:
Robin Gareus 2023-04-28 22:55:54 +02:00
parent 5b42422c60
commit 4ccaa81671
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -7212,6 +7212,7 @@ Session::cut_copy_section (timepos_t const& start, timepos_t const& end, timepos
} }
/* now make space at the insertion-point */ /* now make space at the insertion-point */
pl->split (to);
pl->ripple (to, start.distance(end), NULL); pl->ripple (to, start.distance(end), NULL);
pl->paste (p, to, 1); pl->paste (p, to, 1);