diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 0c52be4450..831d40903b 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -507,6 +507,10 @@ Editor::nudge_forward (bool next, bool force_playhead) alist->modify (m, p + distance, (*m)->value); alist->thaw (); _session->add_command (new MementoCommand (new SimpleMementoCommandBinder (*alist.get()), 0, &alist->get_state())); + + if (selection->points.size()==1) { + _session->request_locate (timepos_t (p + distance).samples()); + } } if (in_command) { commit_reversible_command (); @@ -633,6 +637,10 @@ Editor::nudge_backward (bool next, bool force_playhead) alist->modify (m, max (timepos_t (p.time_domain()), p.earlier (distance)), (*m)->value); alist->thaw (); _session->add_command (new MementoCommand (new SimpleMementoCommandBinder (*alist.get()), 0, &alist->get_state())); + + if (selection->points.size()==1) { + _session->request_locate (timepos_t (p.earlier (distance)).samples()); + } } if (in_command) { commit_reversible_command ();