summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-07 20:44:26 -0500
committerDavid Robillard <d@drobilla.net>2015-01-07 20:44:26 -0500
commit4fd3adda019ef349ce70fd8dc2f6dea8d00a9216 (patch)
tree75e54aabcc5ee0d7a970c362ce6d92a33154d0e6 /gtk2_ardour/editor_selection.cc
parent69069e038126b0837853b913e8aebcd6cc0c5f3a (diff)
Fix select all before/after edit point.
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index 962d7dc8c9..518bfe0472 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -1741,10 +1741,10 @@ Editor::select_all_selectables_using_edit (bool after)
list<Selectable *> touched;
if (after) {
- start = get_preferred_edit_position();
+ start = get_preferred_edit_position(false, true);
end = _session->current_end_frame();
} else {
- if ((end = get_preferred_edit_position()) > 1) {
+ if ((end = get_preferred_edit_position(false, true)) > 1) {
start = 0;
end -= 1;
} else {