amend 3f5d17d, clear changes to MIDI as well.

This commit is contained in:
Robin Gareus 2015-05-28 14:41:17 +02:00
parent 3f5d17dd24
commit 8dbd55236a
1 changed files with 1 additions and 0 deletions

View File

@ -1613,6 +1613,7 @@ RouteTimeAxisView::paste (framepos_t pos, const Selection& selection, PasteConte
const framecnt_t duration = extent.second - extent.first;
pos += _editor.get_paste_offset(pos, ctx.count, duration);
pl->clear_changes ();
pl->clear_owned_changes ();
if (Config->get_edit_mode() == Ripple) {
std::pair<framepos_t, framepos_t> extent = (*p)->get_extent_with_endspace();