From 7990454c59f43edc3fd386f8634484e400121c7a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Jun 2024 23:43:18 +0200 Subject: [PATCH] Fix range-selection when snapping to sections Previously a range selection was canceled when the range exactly matched a section, but the Drag was not canceled. This lead to various issues. --- gtk2_ardour/editor_sections.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/editor_sections.cc b/gtk2_ardour/editor_sections.cc index 9bf2b382d7..a12fbcb946 100644 --- a/gtk2_ardour/editor_sections.cc +++ b/gtk2_ardour/editor_sections.cc @@ -264,6 +264,10 @@ EditorSections::selection_changed () return; } + if (PublicEditor::instance ().drag_active ()) { + return; + } + TreeView::Selection::ListHandle_Path rows = _view.get_selection ()->get_selected_rows (); if (rows.empty ()) { return;