diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index db2c68426c..be8416f52c 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -3340,14 +3340,6 @@ TempoMarkerDrag::aborted (bool moved) */ _editor->abort_tempo_map_edit (); - - // _point->end_float (); - _marker->set_position (timepos_t (_marker->tempo ().beats ())); - - if (moved) { - // delete the dummy (hidden) marker we used for events while moving. - delete _marker; - } } /********* */ diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 6c3e4ffcef..17cc38f1a0 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -847,12 +847,7 @@ Editor::abort_tempo_map_edit () { /* this drops the lock held while we have a writable copy in our per-thread pointer */ TempoMap::abort_update (); - - /* Now update our own per-thread copy of the tempo map pointer to be - the canonical one, and reconnect markers with elements of that map - */ - TempoMap::SharedPtr tmap (TempoMap::fetch()); - reassociate_metric_markers (tmap); + tempo_map_changed (); } void