summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorNick Mainsbridge <beatroute@iprimus.com.au>2006-01-23 22:08:41 +0000
committerNick Mainsbridge <beatroute@iprimus.com.au>2006-01-23 22:08:41 +0000
commit3ca8d77dfd5fdec3c580d1c8ee9eaf8aabd61316 (patch)
tree528f24b75a883827e449c49b05aa6bf9e47aa21f /gtk2_ardour/editor_ops.cc
parent503e32b2a689206b6e93200fd1a2eb9a2cc8bbdf (diff)
add undo to select within (mouse and loop/punch ranges). add right click menu to loop/punch ranges to select all within
git-svn-id: svn://localhost/trunk/ardour2@293 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index bebe3c7cf0..e8d0763164 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1276,13 +1276,13 @@ Editor::select_all_within (jack_nframes_t start, jack_nframes_t end, double top,
}
(*iter)->get_selectables (start, end, top, bot, touched);
}
-
+ begin_reversible_command (_("select all within"));
if (add) {
selection->add (touched);
} else {
selection->set (touched);
}
-
+ commit_reversible_command ();
return !touched.empty();
}