fix one bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2350 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-07-25 22:10:05 +00:00
parent c544988f28
commit ba4be915d3
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
* buffer.C (parseSingleLyXformat2Token): check minipage if we
insert an inset.
2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
* BufferView.h: don't forward declare WorkArea

View File

@ -1041,6 +1041,9 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
// But insets should read it, it is a part of
// the inset isn't it? Lgb.
} else if (token == "\\begin_inset") {
// Does this fix it? YES!
checkminipage = true;
#ifdef NO_LATEX
insertErtContents(par, pos, font, false);
ert_stack.push(ert_comp);