diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 032eddea89..cd60f721bf 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -6644,8 +6644,10 @@ NoteCreateDrag::finished (GdkEvent* ev, bool had_movement) const double qn_length = map.quarter_notes_between_frames (start_sess_rel, start_sess_rel + length); Evoral::Beats qn_length_beats = max (Evoral::Beats::ticks(1), Evoral::Beats (qn_length)); + _editor->begin_reversible_command (_("Create Note")); _region_view->clear_editor_note_selection(); _region_view->create_note_at (start, _drag_rect->y0(), qn_length_beats, ev->button.state, false); + _editor->commit_reversible_command (); } double