--- a/src/lddocument.cpp Fri Mar 02 22:23:53 2018 +0200 +++ b/src/lddocument.cpp Sat Mar 03 15:14:07 2018 +0200 @@ -320,7 +320,6 @@ m_objectVertices.remove(object); } - m_selection.remove(object); return Model::withdrawAt(position); } @@ -432,29 +431,6 @@ model.addFromString(object->asText()); } } - -// ============================================================================= -// -void LDDocument::addToSelection (LDObject* obj) // [protected] -{ - if (not m_selection.contains(obj) and obj->model() == this) - { - m_selection.insert(obj); - emit objectModified(obj); - } -} - -// ============================================================================= -// -void LDDocument::removeFromSelection (LDObject* obj) // [protected] -{ - if (m_selection.contains(obj)) - { - m_selection.remove(obj); - emit objectModified(obj); - } -} - // ============================================================================= // bool LDDocument::swapObjects (LDObject* one, LDObject* other)