change isDeleting to isUnsetting
- DocumentObject::isDeleting was changed to isRemoving. This commit just prevents future confusion.
This commit is contained in:
committed by
Yorik van Havre
parent
ce7f6ed351
commit
a580f60e1e
@@ -44,7 +44,7 @@ PROPERTY_SOURCE(TechDraw::DrawViewCollection, TechDraw::DrawView)
|
||||
|
||||
DrawViewCollection::DrawViewCollection()
|
||||
{
|
||||
nowDeleting = false;
|
||||
nowUnsetting = false;
|
||||
static const char *group = "Drawing view";
|
||||
ADD_PROPERTY_TYPE(Views ,(0), group, App::Prop_None,"Attached Views");
|
||||
|
||||
@@ -145,7 +145,7 @@ void DrawViewCollection::onChanged(const App::Property* prop)
|
||||
|
||||
void DrawViewCollection::unsetupObject()
|
||||
{
|
||||
nowDeleting = true;
|
||||
nowUnsetting = true;
|
||||
|
||||
// Remove the collection's views from document
|
||||
App::Document* doc = getDocument();
|
||||
|
||||
Reference in New Issue
Block a user