13
0

Fix undo when ripple deleting a region (#9767)

This commit is contained in:
Robin Gareus 2024-08-13 03:05:19 +02:00
parent 3bdf378df3
commit 9f0b829cfb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -4931,11 +4931,10 @@ Editor::remove_clicked_region ()
playlist->remove_region (region); playlist->remove_region (region);
if (should_ripple()) { if (should_ripple()) {
do_ripple (playlist, region->position(), - region->length(), std::shared_ptr<Region>(), true); do_ripple (playlist, region->position(), - region->length(), std::shared_ptr<Region>(), false);
} else {
playlist->rdiff_and_add_command (_session);
} }
playlist->rdiff_and_add_command (_session);
commit_reversible_command (); commit_reversible_command ();
} }