diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 69da81ba7e..db5654dded 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -686,7 +686,7 @@ Editor::edit_tempo_section (TempoPoint& section) tempo_dialog.get_bbt_time (when); TempoMapChange tmc (*this, _("edit tempo")); - tmc.map().set_tempo (tempo, when); + tmc.map().replace_tempo (section, tempo, timepos_t (tmc.map().quarters_at (when))); } void