comment.diff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3162 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-12-05 23:13:02 +00:00
parent 628bd134d6
commit ff885b3ed3
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-12-05 John Levon <moz@compsoc.man.ac.uk>
* insettext.C (insetAllowed): add comment
2001-12-05 Juergen Vigna <jug@sad.it>
* insettext.C (insetAllowed): fixed for the case that we directly

View File

@ -1800,6 +1800,10 @@ bool InsetText::insertInset(BufferView * bv, Inset * inset)
bool InsetText::insetAllowed(Inset::Code code) const
{
// in_insetAllowed is a really gross hack,
// to allow us to call the owner's insetAllowed
// without stack overflow, which can happen
// when the owner uses InsetCollapsable::insetAllowed()
bool ret = true;
if (in_insetAllowed)
return ret;