From 85f05eaca59c6d19e62e0b4b64477c295923f6f2 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 21 Jan 2022 10:04:04 -0600 Subject: [PATCH] Ruler Markers: only listen to -this- marker (NameChanged), not all of them (name_change) --- gtk2_ardour/editor_markers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index e899433cc6..dbb23fb5ba 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -180,7 +180,7 @@ Editor::add_new_location_internal (Location* location) lam->show (); } - location->name_changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context()); + location->NameChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, location), gui_context()); location->TimeDomainChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, location), gui_context()); location->FlagsChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_flags_changed, this, location), gui_context());