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.
This commit is contained in:
parent
e15c337f57
commit
7990454c59
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user