Listen to per-location signals for autopunch, not class-level signals

Not used in tracks, but keeps the codebase correct
This commit is contained in:
Paul Davis 2014-10-07 09:07:46 -04:00
parent 3486eb5108
commit acedc88419

View file

@ -328,8 +328,8 @@ TimeInfoBox::watch_punch (Location* punch)
{
punch_connections.drop_connections ();
punch->start_changed.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, _1), gui_context());
punch->end_changed.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, _1), gui_context());
punch->StartChanged.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, punch), gui_context());
punch->EndChanged.connect (punch_connections, MISSING_INVALIDATOR, boost::bind (&TimeInfoBox::punch_changed, this, punch), gui_context());
punch_changed (punch);
}