diff --git a/gtk2_ardour/editor_sources.cc b/gtk2_ardour/editor_sources.cc index cbf7d3b998..c98d6a8b11 100644 --- a/gtk2_ardour/editor_sources.cc +++ b/gtk2_ardour/editor_sources.cc @@ -115,8 +115,11 @@ EditorSources::selection_changed () if ((iter = _model->get_iter (*i))) { /* highlight any regions in the editor that use this region's source */ std::shared_ptr region = (*iter)[_columns.region]; - if (!region) + if (!region) { continue; + } + + std::shared_ptr source = region->source (); if (source) {