projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b5456
)
When in smart-mode, don't switch to range-mode after "set range selection"
author
Robin Gareus
<robin@gareus.org>
Fri, 28 Apr 2017 12:57:13 +0000
(14:57 +0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 28 Apr 2017 12:57:13 +0000
(14:57 +0200)
closes #7332
gtk2_ardour/editor_selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_selection.cc
b/gtk2_ardour/editor_selection.cc
index f0ba5916d77ddd97b3b8c4f41607c2fb075b1ec0..3b31def60fd8d1850478b019ec614cf8347756e7 100644
(file)
--- 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