summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-02-18 16:34:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-02-18 16:34:57 +0000
commit728bedf9b917287ea76b98860dec04e72472230c (patch)
tree892aa5ca6adf037fb33be4ae97515e84427d97d0 /gtk2_ardour
parent95b8a69a586463b30e36ab41f9f41ba138360e16 (diff)
connect Streamview to Playlist::ContentsChanged signal so that it updates after a Playlist::set_state() call
git-svn-id: svn://localhost/ardour2/branches/3.0@6700 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/streamview.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc
index da773ea273..8c53fd0596 100644
--- a/gtk2_ardour/streamview.cc
+++ b/gtk2_ardour/streamview.cc
@@ -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