diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-28 11:46:04 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-28 11:46:04 +0100 |
commit | 5a6ddb034e998a84657210e0784101783a8a7d8b (patch) | |
tree | ba40d8473ed55db24d3bcc10757dc6c68f62cf2f /gtk2_ardour/mixer_ui.cc | |
parent | c5047ec431e88cadd9aed2399cfcb142450b3524 (diff) |
ensure mixer shows a recently selected strip
This doesn't guarantee that is it the MOST recently selected strip
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 5192a90abc..05c2a51f62 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -849,6 +849,10 @@ Mixer_UI::sync_treeview_from_presentation_info (PropertyChange const & what_chan _selection.remove (*i); } } + + if (!_selection.axes.empty()) { + move_stripable_into_view ((*_selection.axes.begin())->stripable()); + } } redisplay_track_list (); |