]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
Minor code shuffle.
[lyx.git] / src / tabular.C
index 86091c6e36a02486ec4f65ffa911810f50349877..183b2f2e68fd5d40a80e37b63db5784ec82c34ae 100644 (file)
@@ -1504,6 +1504,10 @@ void LyXTabular::OldFormatRead(LyXLex & lex, string const & fl)
                        || token == "\\end_float"
                        || token == "\\end_deeper") {
                        lex.pushToken(token);
+                       // Here we need to insert the inset_ert_contents into the last
+                       // cell of the tabular.
+                       owner_->bufferOwner()->insertErtContents(par, pos, font);
+                       
                        break;
                }
                if (owner_->bufferOwner()->parseSingleLyXformat2Token(lex, par,