From 9b51d802106df5709ea936e65891e2f0a5c70c6b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 10 May 2022 09:37:30 -0600 Subject: [PATCH] explanatory comment --- gtk2_ardour/editor_tempodisplay.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 77d5b48822..c9b9e5d7cd 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -838,6 +838,9 @@ 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); }