-
-
-bool InsetTheorem::insertInsetAllowed(Inset * inset) const
-{
- lyxerr << "InsetTheorem::InsertInsetAllowed" << endl;
-
- if ((inset->lyxCode() == Inset::FOOT_CODE) ||
- (inset->lyxCode() == Inset::MARGIN_CODE)) {
- return false;
- }
- return true;
-}