From 1ceb153037267bb69933c4c8fc7e874dcdf049df Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Jul 2020 15:26:17 -0600 Subject: [PATCH] fix "Loop Range" in marker context menu --- gtk2_ardour/editor_markers.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 34a807b419..8090189eb9 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -1352,11 +1352,15 @@ Editor::marker_menu_loop_range () Location* l; bool is_start; + cerr << "look for location from marker " << marker << endl; + if ((l = find_location_from_marker (marker, is_start)) != 0) { if (l != transport_loop_location()) { + cerr << "Set loop\n"; set_loop_range (l->start(), l->end(), _("loop range from marker")); + } else { + cerr << " at TL\n"; } - _session->request_locate (l->start(), MustRoll); _session->request_play_loop (true); } }