diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-21 15:49:28 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-21 15:49:28 +0200 |
commit | 3d505636207b3a595ed8ae2f8c7309477d826638 (patch) | |
tree | 3afe4a53f963bf38f5a7a12f47c2e4ba01e491e4 /gtk2_ardour/time_axis_view.cc | |
parent | 8400ebd175e0b2db632ea45b1943dc646dfe97c4 (diff) |
Properly propagate TAV TimeSelection
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 58c9d44bc5..b03a0c03bd 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -822,6 +822,9 @@ TimeAxisView::show_selection (TimeSelection& ts) for (Children::iterator i = children.begin(); i != children.end(); ++i) { + if (!(*i)->selected () && !(*i)->propagate_time_selection ()) { + continue; + } (*i)->show_selection (ts); } @@ -879,6 +882,9 @@ TimeAxisView::reshow_selection (TimeSelection& ts) show_selection (ts); for (Children::iterator i = children.begin(); i != children.end(); ++i) { + if (!(*i)->selected () && !(*i)->propagate_time_selection ()) { + continue; + } (*i)->show_selection (ts); } } |