diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index 3fcbbd600b..aab2b4ea85 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -44,6 +44,10 @@ using namespace ARDOUR; using namespace PBD; PBD::Signal0 Location::scene_changed; +PBD::Signal1 Location::name_changed; +PBD::Signal1 Location::end_changed; +PBD::Signal1 Location::start_changed; +PBD::Signal1 Location::changed; Location::Location (Session& s) : SessionHandleRef (s) @@ -621,6 +625,10 @@ Locations::Locations (Session& s) : SessionHandleRef (s) { current_location = 0; + + Location::changed.connect_same_thread (*this, boost::bind (&Locations::location_changed, this, _1)); + Location::start_changed.connect_same_thread (*this, boost::bind (&Locations::location_changed, this, _1)); + Location::end_changed.connect_same_thread (*this, boost::bind (&Locations::location_changed, this, _1)); } Locations::~Locations ()