handle Leaders, Welds, Tiles and RichAnnos

This commit is contained in:
donovaly
2020-03-05 02:19:08 +01:00
committed by WandererFan
parent 398bf689e2
commit f8d90c2523
10 changed files with 116 additions and 10 deletions

View File

@@ -221,3 +221,12 @@ void ViewProviderRichAnno::handleChangedPropertyType(Base::XMLReader &reader, co
}
}
bool ViewProviderRichAnno::canDelete(App::DocumentObject *obj) const
{
// deletions of RichAnno objects don't destroy anything
// thus we can pass this action
// only for information: RichAnnos that have a parent
// view will get the page as new parent if the view is deleted
Q_UNUSED(obj)
return true;
}