diff -r 851634b85893 -r d4dda62c6600 src/actions/MainActions.cc --- a/src/actions/MainActions.cc Wed Mar 05 02:33:58 2014 +0200 +++ b/src/actions/MainActions.cc Wed Mar 05 03:39:31 2014 +0200 @@ -844,7 +844,7 @@ { // Remove the selection now for (LDObject* obj : selection()) - obj->deleteSelf(); + obj->destroy(); // Compile all objects in the new subfile for (LDObject* obj : doc->getObjects())