diff options
author | Carl Hetherington <carl@carlh.net> | 2011-09-07 11:56:23 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-09-07 11:56:23 +0000 |
commit | 932b0e9ec1d0f7fb506ccd13bf08a4efe5f91297 (patch) | |
tree | 472bc1d117ab0673946fbed601830dd8241108f3 /libs/ardour/route_group_member.cc | |
parent | 174c0d6831573f24689b7f1f6d6256583f790da6 (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_member.cc')
-rw-r--r-- | libs/ardour/route_group_member.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/route_group_member.cc b/libs/ardour/route_group_member.cc index e4075df689..9b23fd922b 100644 --- a/libs/ardour/route_group_member.cc +++ b/libs/ardour/route_group_member.cc @@ -31,13 +31,14 @@ RouteGroupMember::join_route_group (RouteGroup *rg) } _route_group = rg; - route_group_changed (); /* EMIT SIGNAL */ + route_group_changed (rg); /* EMIT SIGNAL */ } void RouteGroupMember::leave_route_group () { + RouteGroup* rg = _route_group; _route_group = 0; - route_group_changed (); /* EMIT SIGNAL */ + route_group_changed (rg); /* EMIT SIGNAL */ } |