summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-03 22:19:29 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-03 22:19:29 +0000
commitb5ab2e030b3c8de6c7f41c8d533de2462437ce7c (patch)
tree71a298ad02dbb8f1072813b390b36b345aa67172 /gtk2_ardour/rhythm_ferret.cc
parentf9d6a7329c535f1d3863797d3dd3ba3acf2b8ae0 (diff)
Tidy up the region menu a bit, and hopefully clarify what regions will be
operated on in different circumstances. Make the main menubar Region menu the same as the context one, and use the same logic to sensitize/desensitize actions for them. git-svn-id: svn://localhost/ardour2/branches/3.0@7954 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index 4e87b7c46d..da31feca3c 100644
--- a/gtk2_ardour/rhythm_ferret.cc
+++ b/gtk2_ardour/rhythm_ferret.cc
@@ -330,8 +330,8 @@ RhythmFerret::do_action ()
void
RhythmFerret::do_split_action ()
{
- RegionSelection regions = editor.get_regions_for_action ();
-
+ RegionSelection& regions (editor.get_selection().regions);
+
if (regions.empty()) {
return;
}