From e5e40c751fb3940b9a76c91aab59fe51f7885b41 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 3 Sep 2023 14:22:34 -0500 Subject: [PATCH] if user moves selection markers, convert selection to a timeline section --- gtk2_ardour/editor_drag.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 7793d5e63e..d8db859438 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -5858,8 +5858,10 @@ SelectionMarkerDrag::SelectionMarkerDrag (Editor* e, ArdourCanvas::Item* i) bool ok = _editor->get_selection_extents (_start_at_start, _end_at_start); assert (ok); - // SelectionStart, SelectionEnd - cout << " SelectionMarkerDrag " << _start_at_start << " - " << _end_at_start << " " << i->whoami() << "\n"; + /* if the user adjusts the SelectionMarker, convert the selection to a timeline range (no track selection) */ + _editor->get_selection ().clear_objects (); + _editor->get_selection ().clear_tracks (); + _editor->get_selection ().set (_start_at_start, _end_at_start); } void