diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-28 14:57:13 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-28 14:57:13 +0200 |
commit | 3cda0e2a93313c22d9c69d17a21bcbe3ba4510aa (patch) | |
tree | 5545ff68b84e65c12c825462364dbd0999b0a581 /gtk2_ardour/editor_selection.cc | |
parent | a8b545661fbe7051c8be68e22ff580e015055365 (diff) |
When in smart-mode, don't switch to range-mode after "set range selection"
closes #7332
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 |