diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index faee9abbac..1aba26e0f5 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -6631,8 +6631,10 @@ Editor::set_loop_from_selection (bool play) } samplepos_t start, end; - if (!get_selection_extents (start, end)) + + if (!get_selection_extents (start, end)) { return; + } set_loop_range (start, end, _("set loop range from selection"));