From c8faadee4b467868d1b49b80a6604e2cc72e3068 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 23 Jan 2020 14:11:18 -0600 Subject: [PATCH] Fit Selection (Vertical): if we cant fit all selected tracks, report that to the user. But still fit what we can. --- gtk2_ardour/editor_ops.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 05bd71ad6b..d5e684546d 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -8173,8 +8173,8 @@ Editor::fit_tracks (TrackViewList & tracks) if (h < TimeAxisView::preset_height (HeightSmall)) { ArdourMessageDialog msg (_("There are too many tracks to fit in the current window")); msg.run (); - /* too small to be displayed */ - return; + /* too small to be displayed, just use smallest possible */ + h = HeightSmall; } undo_visual_stack.push_back (current_visual_state (true));