mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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:
parent
78237f3ac3
commit
57bd915d66
4 changed files with 19 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue