diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-14 16:44:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-14 16:44:20 +0000 |
commit | da762129f19c28aff64f833b6ec09fba946faef6 (patch) | |
tree | 9f85b36735e42c257226bbb09432741d957f0613 /gtk2_ardour/port_matrix_component.cc | |
parent | 383b24cc48e542d83fca90d4263f800b33d69402 (diff) |
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
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r-- | gtk2_ardour/port_matrix_component.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc index 0bb8d496e7..d98c557c3a 100644 --- a/gtk2_ardour/port_matrix_component.cc +++ b/gtk2_ardour/port_matrix_component.cc @@ -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); } |