Rename can_add_channel slightly and add mysteriously-missing calls to it so that you don't get offered the chance to add ports where none can be added.

git-svn-id: svn://localhost/ardour2/branches/3.0@12349 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-05-20 21:56:33 +00:00
parent 78237f3ac3
commit 57bd915d66
4 changed files with 19 additions and 17 deletions

View file

@ -101,13 +101,13 @@ BundleEditorMatrix::get_state (BundleChannel c[2]) const
}
bool
BundleEditorMatrix::can_add_channel (boost::shared_ptr<Bundle> b) const
BundleEditorMatrix::can_add_channels (boost::shared_ptr<Bundle> b) const
{
if (b == _bundle) {
return true;
}
return PortMatrix::can_add_channel (b);
return PortMatrix::can_add_channels (b);
}
void