diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-24 19:46:45 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-24 19:46:45 -0400 |
commit | 95f81e2d24a51539f7f28228873d97c3e9465527 (patch) | |
tree | d782063d5cc9f18145479195886b78d326f18bea /gtk2_ardour/editor_routes.cc | |
parent | 6f3ebba3b60963b01edabd1deffc4ddffead842f (diff) |
add optional arg to Editor::ensure_time_axis_view_is_visible() to "force" "make it visible as the top track" behaviour
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index c9514e81c3..38706a6525 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -1293,7 +1293,7 @@ EditorRoutes::button_press (GdkEventButton* ev) TimeAxisView *tv = row[_columns.tv]; if (tv) { - _editor->ensure_time_axis_view_is_visible (*tv); + _editor->ensure_time_axis_view_is_visible (*tv, true); } } @@ -1322,7 +1322,7 @@ EditorRoutes::selection_changed () } _editor->get_selection().set (selected); - _editor->ensure_time_axis_view_is_visible (*(selected.front())); + _editor->ensure_time_axis_view_is_visible (*(selected.front()), true); } else { _editor->get_selection().clear_tracks (); |