diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-13 21:27:19 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-13 21:27:19 +0000 |
commit | 04c7158a415e9daa76a60a296891217eb0fb6c0c (patch) | |
tree | 45ffd8b7963a02514f12e3e074e53fb1343feecc /gtk2_ardour/editor.cc | |
parent | 3db46ba30f924c839d31c75dabef434cdfcd54a7 (diff) |
Remove confusing track / group members in TimeSelection struct; time selection
applies to the selected tracks. Some tinkering with how tracks are selected
during time selections.
git-svn-id: svn://localhost/ardour2/branches/3.0@6360 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 9ca44992c4..dd9cdf9582 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4230,14 +4230,8 @@ Editor::post_zoom () } if (mouse_mode == MouseRange && selection->time.start () != selection->time.end_frame ()) { - if (!selection->tracks.empty()) { - for (TrackViewList::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) { - (*i)->reshow_selection (selection->time); - } - } else { - for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) { - (*i)->reshow_selection (selection->time); - } + for (TrackViewList::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) { + (*i)->reshow_selection (selection->time); } } |