diff framework/MainWindowBase.cpp @ 647:25554f7a5b0d single-point

Update to use external commands
author Chris Cannam
date Fri, 15 Mar 2019 11:09:34 +0000
parents 3168deb50199
children eec0c50bb44f
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Thu Mar 14 15:33:40 2019 +0000
+++ b/framework/MainWindowBase.cpp	Fri Mar 15 11:09:34 2019 +0000
@@ -1253,7 +1253,7 @@
                      alignedDuration,
                      1.f,
                      "");
-        NoteModel::EditCommand *command = new NoteModel::EditCommand(nm, name);
+        ChangeEventsCommand *command = new ChangeEventsCommand(nm, name);
         command->add(point);
         c = command->finish();
     }