mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Make sure the layout has actually been closed. Otherwise, you can have:
Style NewStyle all by itself at the end of a file, and LyX is perfectly happy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35059 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
87600d4d84
commit
63e26fa778
@ -573,7 +573,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
|
||||
inpreamble = false;
|
||||
}
|
||||
|
||||
return !error;
|
||||
return finished && !error;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user