commit 532765c03a22285d44f52a46d6907a738a67614d
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Jun 2 09:25:56 2019 +0200

    Enable AutoInsert with post arguments
---
 src/Text3.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Text3.cpp b/src/Text3.cpp
index 7e24041..f8ef5ff 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -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) {

Reply via email to