]> git.lyx.org Git - lyx.git/commitdiff
fix one bug
authorLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 25 Jul 2001 22:10:05 +0000 (22:10 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Wed, 25 Jul 2001 22:10:05 +0000 (22:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2350 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/buffer.C

index 7d7f875dc03afb6804ad0fe3ac4ecd1bc79adcf2..05462081a6fa687149509e1124f5afc3d8dd56ea 100644 (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
index 512ef4dfa157d9499c981d7378f3d90d68b54ff2..5be67668d69eae1ef629c3c34f9bdc718e28d6ba 100644 (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);