From 76104f994b7f43bbadb834169c6344511c94f784 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 17 Sep 2024 09:34:44 -0600 Subject: [PATCH] velocity display: clear must invalidate optimization iterator --- gtk2_ardour/velocity_display.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/velocity_display.cc b/gtk2_ardour/velocity_display.cc index def06de4fd..b6b3c5d5ba 100644 --- a/gtk2_ardour/velocity_display.cc +++ b/gtk2_ardour/velocity_display.cc @@ -153,6 +153,7 @@ VelocityDisplay::clear () delete ev.second; } events.clear (); + _optimization_iterator = events.end(); } void