From 3f5d17dd2486b1f0813861b8de495bee977821fc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 28 May 2015 13:18:59 +0200 Subject: Fix region paste (ctrl+v) undo. --- gtk2_ardour/route_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 extent = (*p)->get_extent_with_endspace(); framecnt_t amount = extent.second - extent.first; -- cgit v1.2.3