Call Editor::abort_reversible_command() in MidiRegionView::abort_command()

Fixes broken undo stack if no changes occurred.
Edit note dialog is currently the only user.
This commit is contained in:
nick_m 2017-06-17 03:43:38 +10:00
parent e82e30992d
commit d1932b23b3

View file

@ -1093,6 +1093,7 @@ MidiRegionView::abort_command()
{ {
delete _note_diff_command; delete _note_diff_command;
_note_diff_command = 0; _note_diff_command = 0;
trackview.editor().abort_reversible_command();
clear_editor_note_selection(); clear_editor_note_selection();
} }