fix copy/drag abort.
This commit is contained in:
parent
22435bb53d
commit
e3da18fd2f
|
@ -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…
Reference in New Issue
Block a user