]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathGrid.cpp
typo
[lyx.git] / src / mathed / InsetMathGrid.cpp
index 4dbd8a1bdc387d7ce5bd1ee8608ea63e1435b752..90f53fd54c229f2f4118d67c14de8ff78947b1ab 100644 (file)
@@ -1566,7 +1566,8 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
                        idocstringstream is(cmd.argument());
                        int n = 0;
                        is >> n;
-                       topaste = cap::selection(n, buffer().params().documentClassPtr());
+                       topaste = cap::selection(n, make_pair(buffer().params().documentClassPtr(),
+                                                             buffer().params().authors()), true);
                }
                InsetMathGrid grid(buffer_, 1, 1);
                if (!topaste.empty())