projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e758b01
)
fix last-minute code rearrangement in last commit that broke the intended functionality
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 24 Apr 2015 18:41:33 +0000
(14:41 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 24 Apr 2015 18:41:33 +0000
(14:41 -0400)
gtk2_ardour/editor_selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_selection.cc
b/gtk2_ardour/editor_selection.cc
index 0f39bbe8ae7dca14c7596e93fc7e162999c8c22e..b071ed6e1bfe15cbc5ba1d1dfcd098ec955fbbc7 100644
(file)
--- a/
gtk2_ardour/editor_selection.cc
+++ b/
gtk2_ardour/editor_selection.cc
@@
-1544,8
+1544,6
@@
Editor::set_selection_from_region ()
return;
}
- selection->set (selection->regions.start(), selection->regions.end_frame());
-
/* find all the tracks that have selected regions */
set<TimeAxisView*> tracks;
@@
-1557,7
+1555,11
@@
Editor::set_selection_from_region ()
TrackViewList tvl;
tvl.insert (tvl.end(), tracks.begin(), tracks.end());
- /* and select them */
+ /* select range (this will clear the region selection) */
+
+ selection->set (selection->regions.start(), selection->regions.end_frame());
+
+ /* and select the tracks */
selection->set (tvl);