// new environment and set also another font if that is required
tmpbuf = buf;
while(tmpbuf) {
+ // set the inset owner of this paragraph
+ tmpbuf->setInsetOwner((*par)->inInset());
for(pos_type i = 0; i < tmpbuf->size(); ++i) {
if (tmpbuf->getChar(i) == Paragraph::META_INSET) {
if (!(*par)->insetAllowed(tmpbuf->getInset(i)->lyxCode()))
}
}
}
- // set the inset owner of this paragraph
- tmpbuf->setInsetOwner((*par)->inInset());
tmpbuf = tmpbuf->next();
}