summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-10-19 22:08:39 +0000
committerCarl Hetherington <carl@carlh.net>2010-10-19 22:08:39 +0000
commitec52182f30a986399ea0f8bd6b5980fcb57f7b68 (patch)
treeca699bf2cb841eede695f754cbd96756e8d04eda /gtk2_ardour/editor_ops.cc
parent326d227323c8a584bd86f75fa48da9e5bdd0d804 (diff)
Modify get_regions_for_action to fix #2960. Rationale is in the comment for that method. This method is used a lot, so this commit may have unwanted side-effects.
git-svn-id: svn://localhost/ardour2/branches/3.0@7908 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 751c94fefa..0f921992f5 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -3881,7 +3881,7 @@ Editor::cut_copy (CutCopyOp op)
/* we only want to cut regions if some are selected */
if (!selection->regions.empty()) {
- get_regions_for_action (rs, false, false);
+ get_regions_for_action (rs, false);
}
switch (current_mouse_mode()) {