Fix undo/redo when changing fade out length

This may fix bug #6518 or there may be more issues to be found
This commit is contained in:
Tim Mayberry 2015-08-19 13:52:23 +10:00
parent b4e13cbbb7
commit bb79071038
1 changed files with 1 additions and 1 deletions

View File

@ -3631,7 +3631,7 @@ FadeOutDrag::finished (GdkEvent* event, bool movement_occurred)
if (!in_command) {
_editor->begin_reversible_command (_("change fade out length"));
in_command = false;
in_command = true;
}
XMLNode &after = alist->get_state();
_editor->session()->add_command(new MementoCommand<AutomationList>(*alist.get(), &before, &after));