Restore update of coverage frames on playlist contents changed, which is needed for...
authorCarl Hetherington <carl@carlh.net>
Sat, 31 Dec 2011 00:19:08 +0000 (00:19 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 31 Dec 2011 00:19:08 +0000 (00:19 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11124 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/streamview.cc

index b9d577819f2dfa71f01ffa8c91f50a351fc21fd2..040635d62895f626d00cef0794be37aab657be8c 100644 (file)
@@ -338,8 +338,10 @@ StreamView::playlist_switched (boost::weak_ptr<Track> wtr)
        tr->playlist()->LayeringChanged.connect (playlist_connections, invalidator (*this), boost::bind (&StreamView::playlist_layered, this, boost::weak_ptr<Track> (tr)), gui_context());
        tr->playlist()->RegionAdded.connect (playlist_connections, invalidator (*this), ui_bind (&StreamView::add_region_view, this, _1), gui_context());
        tr->playlist()->RegionRemoved.connect (playlist_connections, invalidator (*this), ui_bind (&StreamView::remove_region_view, this, _1), gui_context());
+       tr->playlist()->ContentsChanged.connect (playlist_connections, invalidator (*this), ui_bind (&StreamView::update_coverage_frames, this), gui_context());
 }
 
+
 void
 StreamView::diskstream_changed ()
 {