From e2d265c01801e6ffcbc406b56f864b28b8dd51fb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 20 Dec 2022 21:56:37 -0700 Subject: [PATCH] tempo edit: use ::replace_tempo() instead of ::set_tempo() after dialog --- gtk2_ardour/editor_tempodisplay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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