--- a/src/MainWindow.cc Wed Mar 05 02:33:58 2014 +0200 +++ b/src/MainWindow.cc Wed Mar 05 03:39:31 2014 +0200 @@ -303,7 +303,7 @@ // Delete the objects that were being selected for (LDObject* obj : selCopy) - obj->deleteSelf(); + obj->destroy(); refresh(); return selCopy.size(); @@ -700,7 +700,7 @@ void MainWindow::deleteObjects (LDObjectList objs) { for (LDObject* obj : objs) - obj->deleteSelf(); + obj->destroy(); } // =============================================================================