From d0220523f86f04006c21cc4851793b4d2d74df9b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Sep 2010 01:37:50 +0000 Subject: [PATCH] Update coverage frames when the playlist changes; improves display a bit in stacked layer mode. git-svn-id: svn://localhost/ardour2/branches/3.0@7756 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/streamview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index 708b3f54f6..257584fd31 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -336,7 +336,7 @@ StreamView::playlist_switched (boost::weak_ptr wtr) tr->playlist()->LayeringChanged.connect (playlist_connections, invalidator (*this), boost::bind (&StreamView::playlist_layered, this, boost::weak_ptr (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()); - // ds->playlist()->ContentsChanged.connect (playlist_connections, invalidator (*this), boost::bind (&StreamView::redisplay_diskstream, this), gui_context()); + tr->playlist()->ContentsChanged.connect (playlist_connections, invalidator (*this), ui_bind (&StreamView::update_coverage_frames, this), gui_context()); } void