]> git.lyx.org Git - features.git/commitdiff
Allow new buffer params to be reset to empty
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Jan 2017 08:59:33 +0000 (09:59 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Jan 2017 08:59:33 +0000 (09:59 +0100)
src/Buffer.cpp

index 09b7b4a24c09c655645b005082c9bf77f399b3b2..517cd129523157368686a376b2d9b62d851567b6 100644 (file)
@@ -912,6 +912,9 @@ int Buffer::readHeader(Lexer & lex)
        params().output_sync_macro.erase();
        params().setLocalLayout(docstring(), false);
        params().setLocalLayout(docstring(), true);
+       params().biblio_opts.erase();
+       params().biblatex_bibstyle.erase();
+       params().biblatex_citestyle.erase();
 
        for (int i = 0; i < 4; ++i) {
                params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];