Emit signal when a group's active state is changed. Fix restoration of state from XML.

git-svn-id: svn://localhost/ardour2/branches/3.0@6859 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-04-05 17:17:48 +00:00
parent 6e49c73bb0
commit 60158fd2b4

View File

@ -235,6 +235,8 @@ RouteGroup::set_state (const XMLNode& node, int version)
return set_state_2X (node, version);
}
set_properties (node);
const XMLProperty *prop;
if ((prop = node.property ("routes")) != 0) {
@ -337,13 +339,15 @@ RouteGroup::set_active (bool yn, void *src)
if (is_active() == yn) {
return;
}
_active = yn;
send_change (PropertyChange (Properties::active));
_session.set_dirty ();
}
void
RouteGroup::set_relative (bool yn, void *src)
{
if (is_relative() == yn) {
return;