diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-21 03:07:28 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-21 03:07:28 +0000 |
commit | c5659dda6e5840d60b58420d6b8a730955a8052e (patch) | |
tree | 3fc127321c677fdd8785d12ac91500b9c9fc0463 /gtk2_ardour/port_group.cc | |
parent | f6f3769ae11e3a9e888abdf8c3ed92f08d3c9a5b (diff) |
Only add session bundles that are of the correct type.
git-svn-id: svn://localhost/ardour2/branches/3.0@4420 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_group.cc')
-rw-r--r-- | gtk2_ardour/port_group.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index 228b5f0a4d..7421e61efc 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -209,7 +209,7 @@ PortGroupList::set_offer_inputs (bool i) void PortGroupList::maybe_add_session_bundle (boost::shared_ptr<ARDOUR::Bundle> b) { - if (b->ports_are_inputs () == _offer_inputs) { + if (b->ports_are_inputs () == _offer_inputs && b->type () == _type) { _system.bundles.push_back (b); } } |