summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-05-28 14:41:17 +0200
committerRobin Gareus <robin@gareus.org>2015-05-28 14:41:17 +0200
commit8dbd55236abdb0ca9d03e1964dd9e8515c4ac006 (patch)
tree92328327eee082453658a8e6e094edcbfbe2651e /gtk2_ardour/route_time_axis.cc
parent3f5d17dd2486b1f0813861b8de495bee977821fc (diff)
amend 3f5d17d, clear changes to MIDI as well.
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc1
1 files changed, 1 insertions, 0 deletions
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<framepos_t, framepos_t> extent = (*p)->get_extent_with_endspace();