Core: Fixes #17553
This commit is contained in:
@@ -3625,9 +3625,10 @@ void Document::_removeObject(DocumentObject* pcObject)
|
||||
else {
|
||||
// for a rollback delete the object
|
||||
signalTransactionRemove(*pcObject, 0);
|
||||
breakDependency(pcObject, true);
|
||||
}
|
||||
|
||||
breakDependency(pcObject, true);
|
||||
|
||||
// remove from map
|
||||
pcObject->setStatus(ObjectStatus::Remove, false); // Unset the bit to be on the safe side
|
||||
d->objectIdMap.erase(pcObject->_Id);
|
||||
|
||||
Reference in New Issue
Block a user