Source and Region list: fix disappearing list items (break out of the loop instead of returning, so the list always gets thawed)
This commit is contained in:
parent
537d44e3ae
commit
51d57a3fb6
|
@ -457,7 +457,7 @@ EditorRegions::regions_changed (boost::shared_ptr<RegionList> rl, const Property
|
||||||
region_row_map.erase (map_it);
|
region_row_map.erase (map_it);
|
||||||
_model->erase (r);
|
_model->erase (r);
|
||||||
}
|
}
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (map_it != region_row_map.end ()) {
|
if (map_it != region_row_map.end ()) {
|
||||||
|
|
|
@ -517,7 +517,7 @@ EditorSources::regions_changed (boost::shared_ptr<ARDOUR::RegionList> rl, PBD::P
|
||||||
|
|
||||||
if (!region->whole_file ()) {
|
if (!region->whole_file ()) {
|
||||||
/*this isn't on our list anyway; we can ignore it*/
|
/*this isn't on our list anyway; we can ignore it*/
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
TreeModel::iterator i;
|
TreeModel::iterator i;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user