summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 4097335f5b..e9bbaa5c4a 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -5438,6 +5438,16 @@ Session::tempo_map_changed (const PropertyChange&)
}
void
+Session::gui_tempo_map_changed ()
+{
+ //clear_clicks (); ?
+
+ playlists->update_after_tempo_map_change ();
+
+ _locations->apply (*this, &Session::update_locations_after_tempo_map_change);
+}
+
+void
Session::update_locations_after_tempo_map_change (const Locations::LocationList& loc)
{
for (Locations::LocationList::const_iterator i = loc.begin(); i != loc.end(); ++i) {