mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Clear local layout before reading BufferParams. Otherwise, you can't
delete the local layout.
This commit is contained in:
parent
6b5e8b3e83
commit
8558d84d4d
@ -786,6 +786,7 @@ int Buffer::readHeader(Lexer & lex)
|
|||||||
params().html_latex_end.clear();
|
params().html_latex_end.clear();
|
||||||
params().html_math_img_scale = 1.0;
|
params().html_math_img_scale = 1.0;
|
||||||
params().output_sync_macro.erase();
|
params().output_sync_macro.erase();
|
||||||
|
params().local_layout.clear();
|
||||||
|
|
||||||
for (int i = 0; i < 4; ++i) {
|
for (int i = 0; i < 4; ++i) {
|
||||||
params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
|
params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
|
||||||
|
@ -118,6 +118,8 @@ What's new
|
|||||||
- Changes to BibTeX files not noticed when new BibTeX inset created
|
- Changes to BibTeX files not noticed when new BibTeX inset created
|
||||||
(bug 8107).
|
(bug 8107).
|
||||||
|
|
||||||
|
- Made it possible to delete local layout in Document>Settings.
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user