summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorHans Fugal <hans@fugal.net>2006-07-26 23:29:20 +0000
committerHans Fugal <hans@fugal.net>2006-07-26 23:29:20 +0000
commited31a9a262bcda7ac2ae390793f2302247ddca94 (patch)
tree054c44e52e555cdfe15f13559b817bd9ed012611 /gtk2_ardour/automation_time_axis.cc
parent8e301e875aacc4b7d37f6ed552e460511dafb7f2 (diff)
r200@gandalf: fugalh | 2006-07-26 17:28:46 -0600
Oops, missed one. git-svn-id: svn://localhost/ardour2/branches/undo@696 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 4680e3a35f..92c35cf185 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -551,7 +551,7 @@ AutomationTimeAxisView::reset_objects_one (AutomationLine& line, PointSelection&
{
AutomationList& alist (line.the_list());
- _session.add_undo (alist.get_memento());
+ _session.add_command (MementoUndoCommand<AutomationList>(alist, alist.get_state()));
for (PointSelection::iterator i = selection.begin(); i != selection.end(); ++i) {