From 8f7a26790051fbaaea78c795f88a7436cf4273cb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 16 Jun 2022 12:57:39 -0600 Subject: [PATCH] tempo display: when tempo map changes, metric markers must be reassociated with the new map --- gtk2_ardour/editor_tempodisplay.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index a3d7792da3..e7947455e6 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -448,7 +448,8 @@ Editor::update_tempo_curves (double min_tempo, double max_tempo, samplecnt_t sr) void Editor::tempo_map_changed () { - TempoMap::fetch (); + TempoMap::SharedPtr current_map = TempoMap::fetch (); + reassociate_metric_markers (current_map); tempo_map_visual_update (); }