Don't add Bundles to PortMatrix if they only have mistyped ports
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 19 Jul 2016 00:03:44 +0000 (02:03 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 19 Jul 2016 00:10:40 +0000 (02:10 +0200)
commit0b5f2c5d5877de5787a884229f445bc52182f328
tree2440330d6672a1ba946d6fa4b7913140487e74ed
parentf5ed0c6d07f887219e789bdf732749c5bb9e8a34
Don't add Bundles to PortMatrix if they only have mistyped ports

PortMatrix is able to filter out ports that have an unwanted datatype, but
if a Bundle is added that has no port at all with a wanted datatype then
it is not weeded out correctly (and even if it were, there's no chance
that it will legitimately appear in the UI). Don't add that kind of
Bundle in the first place.
gtk2_ardour/port_group.cc