projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00620a0
)
minor selection tweak to avoid finding regions in an existing track selection under...
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 24 Jan 2007 13:45:08 +0000
(13:45 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 24 Jan 2007 13:45:08 +0000
(13:45 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1378
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_selection.cc
b/gtk2_ardour/editor_selection.cc
index ebee195c860d6e5b2236eb68209ab3480f694d44..56e88d9744cbc8190a986f4684045f9ef2d80fc7 100644
(file)
--- a/
gtk2_ardour/editor_selection.cc
+++ b/
gtk2_ardour/editor_selection.cc
@@
-345,9
+345,14
@@
Editor::set_selected_regionview_from_click (bool press, Selection::Operation op,
button_release_can_deselect = false;
}
+
if (op == Selection::Toggle || op == Selection::Set) {
- get_equivalent_regions (clicked_regionview, all_equivalent_regions);
+ if (selection->selected (clicked_audio_trackview)) {
+ get_equivalent_regions (clicked_regionview, all_equivalent_regions);
+ } else {
+ all_equivalent_regions.push_back (clicked_regionview);
+ }
switch (op) {
case Selection::Toggle: