Enable AutoInsert with post arguments

This commit is contained in:
Juergen Spitzmueller 2019-06-02 09:25:56 +02:00
parent 7bb3028607
commit 532765c03a

View 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) {