From 8558d84d4d42580306171668032b41560af819dc Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 3 Apr 2012 15:53:56 -0400 Subject: [PATCH] Clear local layout before reading BufferParams. Otherwise, you can't delete the local layout. --- src/Buffer.cpp | 1 + status.20x | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index d7f8e0869e..ec9289bfc4 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -786,6 +786,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]; diff --git a/status.20x b/status.20x index 0545217335..ed612afbc5 100644 --- a/status.20x +++ b/status.20x @@ -118,6 +118,8 @@ What's new - Changes to BibTeX files not noticed when new BibTeX inset created (bug 8107). +- Made it possible to delete local layout in Document>Settings. + * DOCUMENTATION AND LOCALIZATION -- 2.39.5