From: Richard Heck Date: Tue, 3 Apr 2012 19:53:56 +0000 (-0400) Subject: Clear local layout before reading BufferParams. Otherwise, you can't X-Git-Tag: 2.1.0beta1~1933^2~64 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=33f34e8ffb211a7679f2840dcfbdfee9a4046e11;p=features.git Clear local layout before reading BufferParams. Otherwise, you can't delete the local layout. --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 5c4f1db9b6..aebe0c96cb 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -789,6 +789,7 @@ int Buffer::readHeader(Lexer & lex) params().html_latex_end.clear(); params().html_math_img_scale = 1.0; params().output_sync_macro.erase(); + params().local_layout.clear(); for (int i = 0; i < 4; ++i) { params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];