diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 18ed0b0bbf..a4b2c4b50c 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -3787,6 +3787,7 @@ Editor::trim_region (bool front) delta = where.distance (region->position()); region->trim_front (where); } else { + old_pos = region->end(); delta = region->end().distance (where); region->trim_end (where); }