From c1fb7bc05de859eb61ad7652318f36ae03066482 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 5 Apr 2022 18:06:16 -0600 Subject: [PATCH] we do not need to queue ::redisplay_track_Views() for track height changes This may be incorrect, since track height changes may be driven directly (e.g. via menu items) rather than by mouse drags. This may need revisiting and there may need to be a way to separate dragged height changes from others. --- gtk2_ardour/editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index ac2f5152b7..2c0496e931 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -5961,7 +5961,7 @@ Editor::redisplay_track_views () void Editor::handle_gui_changes (string const & what, void*) { - if (what == "track_height" || what == "visible_tracks") { + if (what == "visible_tracks") { queue_redisplay_track_views (); } }