From c5659dda6e5840d60b58420d6b8a730955a8052e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Jan 2009 03:07:28 +0000 Subject: [PATCH] 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 --- gtk2_ardour/port_group.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b) { - if (b->ports_are_inputs () == _offer_inputs) { + if (b->ports_are_inputs () == _offer_inputs && b->type () == _type) { _system.bundles.push_back (b); } }