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
This commit is contained in:
Paul Davis
2025-08-24 16:30:19 -06:00
parent 01000ab6c9
commit 540f0b1f61

View File

@@ -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<MidiRegion> mr = view->midi_region();
if (mr) {
set_region (mr);
}
/* XXX what, if anything, should we do here ? */
}
}