summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-05-28 13:18:59 +0200
committerRobin Gareus <robin@gareus.org>2015-05-28 13:19:50 +0200
commit3f5d17dd2486b1f0813861b8de495bee977821fc (patch)
tree7dbac1b22e2d78e353538c56ec9d2a185e411a31 /gtk2_ardour/route_time_axis.cc
parent9c6a821c67139a32b531501e0fd000ec19c89faf (diff)
Fix region paste (ctrl+v) undo.
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index ebbaf88338..ad3e858154 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -1613,7 +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();
framecnt_t amount = extent.second - extent.first;