summaryrefslogtreecommitdiff
path: root/libs/ardour/route_group.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-04-05 17:17:48 +0000
committerCarl Hetherington <carl@carlh.net>2010-04-05 17:17:48 +0000
commit60158fd2b47107bfc2663ad06c5a30eb96780177 (patch)
tree885f57a9c7a228ff33549084a4cb438bd6fb3444 /libs/ardour/route_group.cc
parent6e49c73bb0ba1037346d8a7b589185d281c97211 (diff)
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
Diffstat (limited to 'libs/ardour/route_group.cc')
-rw-r--r--libs/ardour/route_group.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc
index f0a9125770..0b0a072509 100644
--- a/libs/ardour/route_group.cc
+++ b/libs/ardour/route_group.cc
@@ -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;