summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_row_labels.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-19 21:23:16 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-19 21:23:16 +0000
commit82f31ffc796146389332295b51f27254e945fe01 (patch)
treefb6da71a04903a597d8f3fe7837df231fe73cc3c /gtk2_ardour/port_matrix_row_labels.cc
parent1efee9951a2c4c6b2d28aa9b9854d65dc5e73d63 (diff)
No highlighting at all when mouse is over a collapsed group. Fix crash on clicking in a collapsed group.
git-svn-id: svn://localhost/ardour2/branches/3.0@5388 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_row_labels.cc')
-rw-r--r--gtk2_ardour/port_matrix_row_labels.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_row_labels.cc b/gtk2_ardour/port_matrix_row_labels.cc
index 7b4383155d..8d7410d319 100644
--- a/gtk2_ardour/port_matrix_row_labels.cc
+++ b/gtk2_ardour/port_matrix_row_labels.cc
@@ -364,7 +364,7 @@ void
PortMatrixRowLabels::mouseover_changed (PortMatrixNode const &)
{
clear_channel_highlights ();
- if (_body->mouseover().row.bundle) {
+ if (_body->mouseover().column.bundle && _body->mouseover().row.bundle) {
add_channel_highlight (_body->mouseover().row);
}
}