end of selected tracks list is the most recently selected

This commit is contained in:
Paul Davis 2017-01-28 11:20:24 +01:00
parent 08bca2a07d
commit 5ba85b0850

View file

@ -962,7 +962,10 @@ Editor::track_selection_changed ()
case 0: case 0:
break; break;
default: 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; break;
} }