mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Fix #2559; crash when doing end_grab on an already-deleted canvas item.
git-svn-id: svn://localhost/ardour2/branches/3.0@4709 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
737ce09ef0
commit
edee84d014
3 changed files with 9 additions and 3 deletions
|
|
@ -911,6 +911,10 @@ Editor::catch_vanishing_regionview (RegionView *rv)
|
|||
audioregionview by itself.
|
||||
*/
|
||||
|
||||
if (rv->get_canvas_group() == drag_info.item) {
|
||||
end_grab (drag_info.item, 0);
|
||||
}
|
||||
|
||||
if (clicked_regionview == rv) {
|
||||
clicked_regionview = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue