mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
comment.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3162 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
628bd134d6
commit
ff885b3ed3
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user