summaryrefslogtreecommitdiff
path: root/libs/ardour/route_group.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-07 11:56:23 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-07 11:56:23 +0000
commit932b0e9ec1d0f7fb506ccd13bf08a4efe5f91297 (patch)
tree472bc1d117ab0673946fbed601830dd8241108f3 /libs/ardour/route_group.cc
parent174c0d6831573f24689b7f1f6d6256583f790da6 (diff)
Update route colours when they are added to / removed
from groups which share colour (more of #4064). git-svn-id: svn://localhost/ardour2/branches/3.0@10060 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route_group.cc')
-rw-r--r--libs/ardour/route_group.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc
index 0806ad7730..42aa30c0f1 100644
--- a/libs/ardour/route_group.cc
+++ b/libs/ardour/route_group.cc
@@ -144,7 +144,7 @@ RouteGroup::add (boost::shared_ptr<Route> r)
r->DropReferences.connect_same_thread (*this, boost::bind (&RouteGroup::remove_when_going_away, this, boost::weak_ptr<Route> (r)));
_session.set_dirty ();
- MembershipChanged (); /* EMIT SIGNAL */
+ RouteAdded (this, boost::weak_ptr<Route> (r)); /* EMIT SIGNAL */
return 0;
}
@@ -167,7 +167,7 @@ RouteGroup::remove (boost::shared_ptr<Route> r)
r->leave_route_group ();
routes->erase (i);
_session.set_dirty ();
- MembershipChanged (); /* EMIT SIGNAL */
+ RouteRemoved (this, boost::weak_ptr<Route> (r)); /* EMIT SIGNAL */
return 0;
}