diff --git a/gtk2_ardour/editor_regions.cc b/gtk2_ardour/editor_regions.cc index 554b071214..5dc0e5f209 100644 --- a/gtk2_ardour/editor_regions.cc +++ b/gtk2_ardour/editor_regions.cc @@ -457,7 +457,7 @@ EditorRegions::regions_changed (boost::shared_ptr rl, const Property region_row_map.erase (map_it); _model->erase (r); } - return; + break; } if (map_it != region_row_map.end ()) { diff --git a/gtk2_ardour/editor_sources.cc b/gtk2_ardour/editor_sources.cc index cfe5a303e6..2d26611732 100644 --- a/gtk2_ardour/editor_sources.cc +++ b/gtk2_ardour/editor_sources.cc @@ -517,7 +517,7 @@ EditorSources::regions_changed (boost::shared_ptr rl, PBD::P if (!region->whole_file ()) { /*this isn't on our list anyway; we can ignore it*/ - return; + break; } TreeModel::iterator i;