Files
ardour/libs
Robin Gareus 4d269729b1 Fix missing entries in region-list #8701
RegionFactory::CheckNewRegion signal is emitted directly
after region-creation from RegionFactory::create().
At this point in time the region is not on any playlist.

This if fine for EditorSources, but the new RegionList design
only shows regions that are on the timeline.

CheckNewRegion() -> EditorRegions::add_region()
-> EditorRegions::regions_changed() ignores regions w/o playlist.

Later Playlist::add_region_internal() sets the playlist but
calls Region::clear_changes() to not send all individual changes.
So Region::RegionsPropertyChanged is not emitted either.

We need to notify the EditorRegions *after* setting the playlist.
The downside of this is that more signals than necessary are
emitted.
2021-05-14 00:27:13 +02:00
..
2020-12-01 12:08:09 +01:00
2021-05-05 17:57:16 +02:00
2021-05-05 17:57:16 +02:00
2021-05-09 17:52:29 -06:00
2021-04-18 22:02:57 +02:00
2021-01-23 23:43:14 +01:00
2021-05-05 17:57:16 +02:00
2020-01-22 02:00:25 +01:00
2019-09-03 05:01:59 +02:00
2021-03-01 22:14:38 +01:00