From ed31a9a262bcda7ac2ae390793f2302247ddca94 Mon Sep 17 00:00:00 2001 From: Hans Fugal Date: Wed, 26 Jul 2006 23:29:20 +0000 Subject: [PATCH] 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 --- gtk2_ardour/automation_time_axis.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(alist, alist.get_state())); for (PointSelection::iterator i = selection.begin(); i != selection.end(); ++i) {