[TD]remove highlight on deletion of detail

This commit is contained in:
wandererfan
2020-03-26 12:36:33 -04:00
committed by WandererFan
parent 1f3966e1c3
commit ebc6536ce8
3 changed files with 21 additions and 7 deletions
+3 -1
View File
@@ -934,7 +934,9 @@ std::vector<DrawViewDetail*> DrawViewPart::getDetailRefs(void) const
std::vector<App::DocumentObject*> inObjs = getInList();
for (auto& o:inObjs) {
if (o->getTypeId().isDerivedFrom(DrawViewDetail::getClassTypeId())) {
result.push_back(static_cast<TechDraw::DrawViewDetail*>(o));
if (!o->isRemoving()) {
result.push_back(static_cast<TechDraw::DrawViewDetail*>(o));
}
}
}
return result;