Clear local layout before reading BufferParams. Otherwise, you can't

delete the local layout.
This commit is contained in:
Richard Heck 2012-04-03 15:53:56 -04:00
parent 6b5e8b3e83
commit 8558d84d4d
2 changed files with 3 additions and 0 deletions

View File

@ -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];

View File

@ -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