summaryrefslogtreecommitdiff
path: root/libs/ardour/legatize.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-10-14 04:46:33 +1100
committernick_m <mainsbridge@gmail.com>2015-10-20 00:53:30 +1100
commit9df1232febdfd2b8666330acb4895975ab3079d2 (patch)
treee0c4c86fbb3f6cb1ce6141925a9228427acaaee5 /libs/ardour/legatize.cc
parente6b35d2cddc1444af934bb6ff4268c000d5848a3 (diff)
Legatize::name () reflects its type. Fixes confusing undo record name.
Diffstat (limited to 'libs/ardour/legatize.cc')
-rw-r--r--libs/ardour/legatize.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/legatize.cc b/libs/ardour/legatize.cc
index 0c118a6a48..4d3d0f7d0e 100644
--- a/libs/ardour/legatize.cc
+++ b/libs/ardour/legatize.cc
@@ -34,7 +34,7 @@ Legatize::operator()(boost::shared_ptr<ARDOUR::MidiModel> model,
Evoral::Beats position,
std::vector<Legatize::Notes>& seqs)
{
- MidiModel::NoteDiffCommand* cmd = new MidiModel::NoteDiffCommand(model, "legatize");
+ MidiModel::NoteDiffCommand* cmd = new MidiModel::NoteDiffCommand(model, name ());
for (std::vector<Legatize::Notes>::iterator s = seqs.begin(); s != seqs.end(); ++s) {
for (Legatize::Notes::iterator i = (*s).begin(); i != (*s).end();) {