mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix copy/drag abort.
This commit is contained in:
parent
22435bb53d
commit
e3da18fd2f
1 changed files with 3 additions and 0 deletions
|
|
@ -1378,7 +1378,10 @@ RegionMoveDrag::aborted (bool movement_occurred)
|
|||
if (_copy) {
|
||||
|
||||
for (list<DraggingView>::const_iterator i = _views.begin(); i != _views.end(); ++i) {
|
||||
list<DraggingView>::const_iterator next = i;
|
||||
++next;
|
||||
delete i->view;
|
||||
i = next;
|
||||
}
|
||||
|
||||
_views.clear ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue