diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-10 22:28:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-10 22:28:20 +0000 |
commit | 8387e1bff87e1bed31a807f993a001a967bca51a (patch) | |
tree | a35e8ff32b3ccb26a0dd105d616f9de4d01c5e9c /gtk2_ardour/port_matrix_body.cc | |
parent | 485b70b61041e5c6b4713f21ab20270446f0053c (diff) |
Fix thinko in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8238 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_body.cc')
-rw-r--r-- | gtk2_ardour/port_matrix_body.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_body.cc b/gtk2_ardour/port_matrix_body.cc index 35e7faa3a6..3d564319f8 100644 --- a/gtk2_ardour/port_matrix_body.cc +++ b/gtk2_ardour/port_matrix_body.cc @@ -479,7 +479,9 @@ PortMatrixBody::highlight_associated_channels (int dim, ARDOUR::BundleChannel h) bc[1 - dim] = ARDOUR::BundleChannel ((*i)->bundle, j); - PortMatrixNode n (bc[0], bc[1]); + PortMatrixNode n; + n.row = bc[_matrix->row_index()]; + n.column = bc[_matrix->column_index()]; if (_matrix->get_association(n) != PortMatrixNode::NOT_ASSOCIATED) { if (dim == _matrix->column_index()) { |