]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.cpp
Clean-up the code with respect to PassThru insets and layouts.
[lyx.git] / src / Layout.cpp
index a9a5487b989e624d10203f0bccb20b34d666efd3..1f68979dd44adfe9833ac4f20c979c63b49b0481 100644 (file)
@@ -573,7 +573,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
                inpreamble = false;
        }
 
-       return !error;
+       return finished && !error;
 }