From 5ba85b085050c4a56c754e0aee73ab7f65c016cc Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 28 Jan 2017 11:20:24 +0100 Subject: [PATCH] end of selected tracks list is the most recently selected --- gtk2_ardour/editor_selection.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index b45ff8c1bb..8902705db2 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -962,7 +962,10 @@ Editor::track_selection_changed () case 0: break; default: - set_selected_mixer_strip (*(selection->tracks.front())); + /* last element in selection list is the most recently + * selected, because we always append to that list. + */ + set_selected_mixer_strip (*(selection->tracks.back())); break; }