summaryrefslogtreecommitdiff
path: root/libs/ardour/route_group.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-01-03 19:34:07 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-01-03 19:34:07 +0000
commit52167705ef9e3bd65c52a99d0837d5325049ff44 (patch)
treef6b753220476349d7594a7f3815ca98a3853a748 /libs/ardour/route_group.cc
parent7053f0922e8686bc49d888dc7a5299d3feed30d0 (diff)
expose operation to remove subgroup
git-svn-id: svn://localhost/ardour2/branches/3.0@13762 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route_group.cc')
-rw-r--r--libs/ardour/route_group.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc
index 55183bd0b8..23b745892e 100644
--- a/libs/ardour/route_group.cc
+++ b/libs/ardour/route_group.cc
@@ -507,6 +507,12 @@ RouteGroup::destroy_subgroup ()
}
bool
+RouteGroup::has_subgroup() const
+{
+ return subgroup_bus != 0;
+}
+
+bool
RouteGroup::enabled_property (PBD::PropertyID prop)
{
OwnedPropertyList::iterator i = _properties->find (prop);