fix copy/drag abort.
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user