Fix undo/redo when moving regions to a different track
This was broken during development of ripple-all. First explicit rdiff_and_add_command() was used, but when that was reverted later, the original stateful_diff was not restored.989408626d
1ccf272d58
This commit is contained in:
parent
b4cf61304c
commit
f6646eaa2d
|
@ -2054,6 +2054,9 @@ RegionMoveDrag::finished_no_copy (
|
|||
_editor->selection->set (new_views);
|
||||
}
|
||||
|
||||
/* write commands for the accumulated diffs for all our modified playlists */
|
||||
add_stateful_diff_commands_for_playlists (modified_playlists);
|
||||
|
||||
_editor->commit_reversible_command ();
|
||||
|
||||
/* We have futzed with the layering of canvas items on our streamviews.
|
||||
|
|
Loading…
Reference in New Issue