From 3cda0e2a93313c22d9c69d17a21bcbe3ba4510aa Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 28 Apr 2017 14:57:13 +0200 Subject: [PATCH] When in smart-mode, don't switch to range-mode after "set range selection" closes #7332 --- gtk2_ardour/editor_selection.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index f0ba5916d7..3b31def60f 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1728,7 +1728,9 @@ Editor::set_selection_from_region () selection->set (tvl); - set_mouse_mode (Editing::MouseRange, false); + if (!get_smart_mode () || !mouse_mode == Editing::MouseObject) { + set_mouse_mode (Editing::MouseRange, false); + } } void