13
0

prevent crash during ripple-mode dragging a region with copy enabled (weird crash but this stops it)

This commit is contained in:
Paul Davis 2023-04-17 11:51:30 -06:00
parent 4d5bce3568
commit 1a2fff932f

View File

@ -1848,7 +1848,7 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const changed_t
/* Ripple marks & ranges if appropriate */ /* Ripple marks & ranges if appropriate */
if (_editor->should_ripple_all()) { if (_editor->should_ripple_all() && _primary->region()->playlist()) {
_editor->ripple_marks (_primary->region()->playlist(), extent_min, extent_min.distance (extent_max)); _editor->ripple_marks (_primary->region()->playlist(), extent_min, extent_min.distance (extent_max));
} }