]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.cpp
Math.lyx, Tutorial.lyx: fix some typos spotted by a user
[lyx.git] / src / insets / InsetLayout.cpp
index 0dc7914dde7f6db102ba17b9a40dff32191f3d02..c1a6c113c27b0445c7a5a2d206c709708a0473a8 100644 (file)
@@ -336,8 +336,10 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
                case IL_RESETARGS:
                        bool reset;
                        lex >> reset;
-                       if (reset)
+                       if (reset) {
                                latexargs_.clear();
+                               postcommandargs_.clear();
+                       }
                        break;
                case IL_ARGUMENT:
                        readArgument(lex);