change isDeleting to isUnsetting

- DocumentObject::isDeleting was changed to isRemoving.
  This commit just prevents future confusion.
This commit is contained in:
WandererFan
2017-09-17 11:50:52 -04:00
committed by Yorik van Havre
parent ce7f6ed351
commit a580f60e1e
8 changed files with 19 additions and 32 deletions

View File

@@ -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();