From 8dbd55236abdb0ca9d03e1964dd9e8515c4ac006 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 28 May 2015 14:41:17 +0200 Subject: amend 3f5d17d, clear changes to MIDI as well. --- gtk2_ardour/route_time_axis.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour/route_time_axis.cc') diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index ad3e858154..7f112b9546 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -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 extent = (*p)->get_extent_with_endspace(); -- cgit v1.2.3