mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Offer all of a bundle's ports for disconnection / removal when opening a menu over a bundle's name in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@6365 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
383b24cc48
commit
da762129f1
6 changed files with 80 additions and 24 deletions
|
|
@ -187,7 +187,7 @@ PortMatrixComponent::position_to_channel (double p, double, boost::shared_ptr<co
|
|||
if (_matrix->show_only_bundles()) {
|
||||
|
||||
if (p < 1) {
|
||||
return ARDOUR::BundleChannel (j->bundle, 0);
|
||||
return ARDOUR::BundleChannel (j->bundle, -1);
|
||||
} else {
|
||||
p -= 1;
|
||||
}
|
||||
|
|
@ -205,5 +205,5 @@ PortMatrixComponent::position_to_channel (double p, double, boost::shared_ptr<co
|
|||
|
||||
}
|
||||
|
||||
return ARDOUR::BundleChannel (boost::shared_ptr<ARDOUR::Bundle> (), 0);
|
||||
return ARDOUR::BundleChannel (boost::shared_ptr<ARDOUR::Bundle> (), -1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue