summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-05 01:12:49 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-05 01:12:49 +0000
commite4c6b5f01a24ae21b80943f1b46679751f7ac25b (patch)
tree805b282674ab9243656c31ee085d9029f0ee8598 /libs/ardour/session_state.cc
parent46d2e5e2b4afe8ca8f6aaf85ce8267642676ed8a (diff)
Fix up route group label updates.
git-svn-id: svn://localhost/ardour2/branches/3.0@7367 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index e91e4bddd4..6800aced51 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -2251,6 +2251,10 @@ Session::add_route_group (RouteGroup* g)
{
_route_groups.push_back (g);
route_group_added (g); /* EMIT SIGNAL */
+
+ g->MembershipChanged.connect_same_thread (*this, boost::bind (&Session::route_group_changed, this));
+ g->PropertyChanged.connect_same_thread (*this, boost::bind (&Session::route_group_changed, this));
+
set_dirty ();
}