From 54ff6901a96c7b77fbdc0abdc79224b763872c13 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 31 Dec 2011 00:19:08 +0000 Subject: [PATCH] Restore update of coverage frames on playlist contents changed, which is needed for trim. git-svn-id: svn://localhost/ardour2/branches/3.0@11124 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/streamview.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index b9d577819f..040635d628 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -338,8 +338,10 @@ 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()); + tr->playlist()->ContentsChanged.connect (playlist_connections, invalidator (*this), ui_bind (&StreamView::update_coverage_frames, this), gui_context()); } + void StreamView::diskstream_changed () { -- 2.30.2