connect Streamview to Playlist::ContentsChanged signal so that it updates after a...
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Feb 2010 16:34:57 +0000 (16:34 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Feb 2010 16:34:57 +0000 (16:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6700 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/streamview.cc

index da773ea273d6344aed82bed4eceaf5aca8569828..8c53fd0596f72b5218057be9aac2266f6236ef06 100644 (file)
@@ -336,6 +336,7 @@ StreamView::playlist_switched (boost::weak_ptr<Diskstream> wds)
        ds->playlist()->LayeringChanged.connect (playlist_connections, boost::bind (&StreamView::playlist_layered, this, boost::weak_ptr<Diskstream>(ds)), gui_context());
        ds->playlist()->RegionAdded.connect (playlist_connections, ui_bind (&StreamView::add_region_view, this, _1), gui_context());
        ds->playlist()->RegionRemoved.connect (playlist_connections, ui_bind (&StreamView::remove_region_view, this, _1), gui_context());
+       ds->playlist()->ContentsChanged.connect (playlist_connections, boost::bind (&StreamView::redisplay_diskstream, this), gui_context());
 }
 
 void