summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-01-28 11:20:24 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-01-28 11:20:24 +0100
commit5ba85b085050c4a56c754e0aee73ab7f65c016cc (patch)
treef9a92f6d11bf9cba042859069ef64fb043dfb8b1 /gtk2_ardour/editor_selection.cc
parent08bca2a07d009c25f8cfec29dbe87682fc1af22c (diff)
end of selected tracks list is the most recently selected
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc5
1 files changed, 4 insertions, 1 deletions
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;
}