13
0

Make sure that the old route group is left properly when

setting a new one.  Should fix #4441 and #4404.


git-svn-id: svn://localhost/ardour2/branches/3.0@10438 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-11-04 16:41:02 +00:00
parent 69413ea089
commit 98370b39c4

View File

@ -141,8 +141,10 @@ RouteGroup::add (boost::shared_ptr<Route> r)
return 0;
}
r->leave_route_group ();
if (r->route_group()) {
r->route_group()->remove (r);
}
routes->push_back (r);
r->join_route_group (this);