Remove wrong asserts
[ardour.git] / gtk2_ardour / editor_mouse.cc
index 86386c21fb9175d03185b7fbdbc3a407dac0ebcb..8a8a9518cf02b9ee912a2cbcf744dd97cda600f8 100644 (file)
@@ -71,7 +71,7 @@
 #include "verbose_cursor.h"
 #include "note.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -2082,8 +2082,12 @@ Editor::edit_notes (MidiRegionView* mrv)
 void
 Editor::note_edit_done (int r, EditNoteDialog* d)
 {
+       begin_reversible_command (_("edit note(s)"));
+
        d->done (r);
        delete d;
+
+       commit_reversible_command();
 }
 
 void