update_route_solo_state ();
}
-void
-Session::playlist_length_changed ()
-{
- update_session_range_location_marker ();
-}
-
void
Session::track_playlist_changed (boost::weak_ptr<Track> wp)
{
boost::shared_ptr<Playlist> playlist;
if ((playlist = track->playlist()) != 0) {
- playlist->LengthChanged.connect_same_thread (*this, boost::bind (&Session::playlist_length_changed, this));
+ playlist->LengthChanged.connect_same_thread (*this, boost::bind (&Session::update_session_range_location_marker, this));
+ playlist->RangesMoved.connect_same_thread (*this, boost::bind (&Session::update_session_range_location_marker, this));
}
update_session_range_location_marker ();