projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c1a561
)
Clicking already-selected region should clear other selections. Thanks to nick_m
author
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 12 Aug 2014 19:40:43 +0000
(14:40 -0500)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 12 Aug 2014 19:40:43 +0000
(14:40 -0500)
gtk2_ardour/editor_selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_selection.cc
b/gtk2_ardour/editor_selection.cc
index 4bc622ad2c0aa94afa9d56d434055fc2368a6a3e..26643bddd57a378e9603085fa0266de0693fc519 100644
(file)
--- a/
gtk2_ardour/editor_selection.cc
+++ b/
gtk2_ardour/editor_selection.cc
@@
-640,8
+640,14
@@
Editor::set_selected_regionview_from_click (bool press, Selection::Operation op)
selection->set (all_equivalent_regions);
commit = true;
} else {
- /* no commit necessary: clicked on an already selected region */
- goto out;
+ /* clicked on an already selected region */
+ if (press)
+ goto out;
+ else {
+ get_equivalent_regions(clicked_regionview, all_equivalent_regions, ARDOUR::Properties::select.property_id);
+ selection->set(all_equivalent_regions);
+ commit = true;
+ }
}
break;