summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2015-01-09 12:20:02 -0600
committerBen Loftis <ben@harrisonconsoles.com>2015-01-09 12:21:10 -0600
commit9e0cd98ad4fc84e56640ea9a466d3fd0dbccef04 (patch)
treea6a684b8bd30f6874f0e259941678836e560955a /gtk2_ardour/editor_selection.cc
parenta6e45a471a2af53a58ad28e769b232075cabab92 (diff)
fix select-all-regions-within (it used to select everything overlapped)
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 117459263c..60f8b0433b 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -1791,7 +1791,7 @@ Editor::select_all_selectables_using_edit (bool after)
}
void
-Editor::select_all_selectables_between (bool /*within*/)
+Editor::select_all_selectables_between (bool within)
{
framepos_t start;
framepos_t end;
@@ -1821,7 +1821,7 @@ Editor::select_all_selectables_between (bool /*within*/)
if ((*iter)->hidden()) {
continue;
}
- (*iter)->get_selectables (start, end, 0, DBL_MAX, touched);
+ (*iter)->get_selectables (start, end, 0, DBL_MAX, touched, within);
}
begin_reversible_selection_op(_("Select all Selectables Between"));