]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathGrid.cpp
tex2lyx/text.cpp: fix typos
[lyx.git] / src / mathed / InsetMathGrid.cpp
index ed77f71f851be12a46fa959b5b0f9c7e81d0defc..ac8cd491acb8d50dafc3e132722550a1810fb381 100644 (file)
@@ -1356,7 +1356,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
                        hline_enabled = status.enabled();
                if (grid.nargs() == 1) {
                        // single cell/part of cell
-                       cur.recordUndo();
+                       cur.recordUndoInset();
                        cur.cell().insert(cur.pos(), grid.cell(0));
                        cur.pos() += grid.cell(0).size();
                        if (hline_enabled)