]> git.lyx.org Git - features.git/commitdiff
Enable AutoInsert with post arguments
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 2 Jun 2019 07:25:56 +0000 (09:25 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:32 +0000 (15:48 +0200)
src/Text3.cpp

index 7e24041cef7f7918aa64dd6341970f44b8e613ea..f8ef5ff49c804816d2c08e81fcd91e6342796416 100644 (file)
@@ -2064,7 +2064,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                doInsertInset(cur, this, cmd, true, true);
                // Insert auto-insert arguments
                bool autoargs = false;
-               Layout::LaTeXArgMap args = cur.inset().getLayout().latexargs();
+               Layout::LaTeXArgMap args = cur.inset().getLayout().args();
                Layout::LaTeXArgMap::const_iterator lait = args.begin();
                Layout::LaTeXArgMap::const_iterator const laend = args.end();
                for (; lait != laend; ++lait) {