From 540f0b1f61eb821ace1c3c8322cdad85ca28dae2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 24 Aug 2025 16:30:19 -0600 Subject: [PATCH] pianoroll's have nothing (?) to do when a region's length changes In particular, they should not call ::set_region() again to try to make something happen --- gtk2_ardour/pianoroll.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gtk2_ardour/pianoroll.cc b/gtk2_ardour/pianoroll.cc index 1feb627c39..36d1ec9b9b 100644 --- a/gtk2_ardour/pianoroll.cc +++ b/gtk2_ardour/pianoroll.cc @@ -1388,10 +1388,7 @@ Pianoroll::region_prop_change (PBD::PropertyChange const & what_changed) EC_LOCAL_TEMPO_SCOPE; if (what_changed.contains (Properties::length)) { - std::shared_ptr mr = view->midi_region(); - if (mr) { - set_region (mr); - } + /* XXX what, if anything, should we do here ? */ } }