]> git.lyx.org Git - features.git/commitdiff
Fix bug 1904
authorMartin Vermeer <martin.vermeer@hut.fi>
Thu, 16 Jun 2005 15:15:33 +0000 (15:15 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Thu, 16 Jun 2005 15:15:33 +0000 (15:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10076 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/text.C

index 4c8c3dc44735e82c0c7a00e6b5f765c305d127be..56f2cc53d4b7d01c9126963ee5f2c8a678f53ddc 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
+
 2005-06-14  Angus Leeming  <leeming@lyx.org>
 
        * lyx_main.C (init): ensure that the LyX binary dir is the first
index cd8b3c2f5d9ad2382936c246985f1711e173a0f4..b9bb9ea891d4883d83fac7db2d3f5bcb2ac2e4cd 100644 (file)
@@ -371,6 +371,8 @@ void readParagraph(Buffer const & buf, Paragraph & par, LyXLex & lex)
                        break;
                }
        }
+       // Initialize begin_of_body_ on load; redoParagraph maintains
+       par.setBeginOfBody();
 }