]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
remove debug message
[lyx.git] / src / buffer.C
index 67ddc7672e3990fc07672b5c4c44491a1a8254db..185e4ee4d6ec7babd41b1c7e5656285913eea7f6 100644 (file)
@@ -625,6 +625,10 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
                        return false; // no end read yet
                }
 
+               // we have to reset the font as in the old format after a float
+               // the font was automatically reset!
+               font = LyXFont(LyXFont::ALL_INHERIT, params.language);
+
                // Here we need to check for \end_deeper and handle that
                // before we do the footnote parsing.
                // This _is_ a hack! (Lgb)