summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-25 17:32:08 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-25 17:32:08 +0000
commitf30402d073aeae5d24462416407e73d1e0314e71 (patch)
tree62e89b0549125dc8d0d5ee91fe2cc689990b7f08 /gtk2_ardour/midi_time_axis.cc
parent21855b71d2eb8006fda96aefacfa60140ae747d3 (diff)
clear_history -> clear_changes and some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@7685 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index 5979e315a8..cb667f1048 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -1009,7 +1009,7 @@ MidiTimeAxisView::add_region (framepos_t pos, framecnt_t length, bool commit)
Editor* real_editor = dynamic_cast<Editor*> (&_editor);
real_editor->begin_reversible_command (_("create region"));
- playlist()->clear_history ();
+ playlist()->clear_changes ();
real_editor->snap_to (pos, 0);