rename status bit 'Delete' to 'Remove' as it fits better for its purpose, add new bit 'Destroy'
This commit is contained in:
@@ -119,7 +119,7 @@ void OriginGroupExtension::onExtendedSetupObject () {
|
||||
|
||||
void OriginGroupExtension::onExtendedUnsetupObject () {
|
||||
App::DocumentObject *origin = Origin.getValue ();
|
||||
if (origin && !origin->isDeleting ()) {
|
||||
if (origin && !origin->isRemoving ()) {
|
||||
origin->getDocument ()->remObject (origin->getNameInDocument());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user