mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue