From 4c26225ddc4c04365a694a77287ce3a812bc4935 Mon Sep 17 00:00:00 2001 From: André Nusser Date: Wed, 7 Oct 2015 23:56:14 +0200 Subject: Fix "Select All * Edit Point" when used as shortcut. -fixes #6626 --- gtk2_ardour/editor_selection.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/editor_selection.cc') diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 5a59b48a90..85ec795e40 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1819,17 +1819,17 @@ Editor::select_all_selectables_using_cursor (EditorCursor *cursor, bool after) } void -Editor::select_all_selectables_using_edit (bool after) +Editor::select_all_selectables_using_edit (bool after, bool from_context_menu) { framepos_t start; framepos_t end; list touched; if (after) { - start = get_preferred_edit_position(EDIT_IGNORE_NONE, true); + start = get_preferred_edit_position(EDIT_IGNORE_NONE, from_context_menu); end = _session->current_end_frame(); } else { - if ((end = get_preferred_edit_position(EDIT_IGNORE_NONE, true)) > 1) { + if ((end = get_preferred_edit_position(EDIT_IGNORE_NONE, from_context_menu)) > 1) { start = 0; end -= 1; } else { -- cgit v1.2.3