summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-07 17:39:13 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-07 17:39:13 +0000
commit71f1b360a0c0ddeb9b7eb47f01dfbd87423b314a (patch)
treecdc7d2cef75f29537c29ca2eb19ff3d6fd3b4bd9 /gtk2_ardour/port_matrix_component.cc
parent8dab33c609bdf588aa33cd4e34019f7319f078d6 (diff)
Give just one system tab rather than mono / stereo. Fix bundles-only mode of the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@6321 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r--gtk2_ardour/port_matrix_component.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc
index 8feb7a5309..0bb8d496e7 100644
--- a/gtk2_ardour/port_matrix_component.cc
+++ b/gtk2_ardour/port_matrix_component.cc
@@ -186,7 +186,7 @@ PortMatrixComponent::position_to_channel (double p, double, boost::shared_ptr<co
if (_matrix->show_only_bundles()) {
- if (p == 0) {
+ if (p < 1) {
return ARDOUR::BundleChannel (j->bundle, 0);
} else {
p -= 1;