mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 22:56:32 +01:00
Fix segfault on:
1. move a region to a new track. 2. trim it. git-svn-id: svn://localhost/ardour2/branches/3.0@4537 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
550613a898
commit
0522149d20
1 changed files with 0 additions and 4 deletions
|
|
@ -77,16 +77,12 @@ Editor::region_hidden (boost::shared_ptr<Region> r)
|
|||
void
|
||||
Editor::add_regions_to_region_display (vector<boost::weak_ptr<Region> >& regions)
|
||||
{
|
||||
region_list_display.set_model (Glib::RefPtr<Gtk::TreeStore>(0));
|
||||
|
||||
for (vector<boost::weak_ptr<Region> >::iterator x = regions.begin(); x != regions.end(); ++x) {
|
||||
boost::shared_ptr<Region> region ((*x).lock());
|
||||
if (region) {
|
||||
add_region_to_region_display (region);
|
||||
}
|
||||
}
|
||||
|
||||
region_list_display.set_model (region_list_model);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue