prevent crash during ripple-mode dragging a region with copy enabled (weird crash but this stops it)
This commit is contained in:
parent
4d5bce3568
commit
1a2fff932f
@ -1848,7 +1848,7 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const changed_t
|
||||
|
||||
/* 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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user