diff options
-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()) { |