X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.cpp;h=b8d94336b9f74294f14d61161e360294a9251d23;hb=7855c0c1fc98b154768d3014883873387bd64c95;hp=b7320d0143bb6e1e49db03fec77f6580cc2f3a0a;hpb=a93ac274507fcd5bade2fe51826c7337152d793b;p=lyx.git diff --git a/src/factory.cpp b/src/factory.cpp index b7320d0143..b8d94336b9 100644 --- a/src/factory.cpp +++ b/src/factory.cpp @@ -107,6 +107,8 @@ Inset * createInsetHelper(Buffer * buf, FuncRequest const & cmd) inp.kind = InsetSeparatorParams::PLAIN; else if (name == "parbreak") inp.kind = InsetSeparatorParams::PARBREAK; + else if (name == "latexpar") + inp.kind = InsetSeparatorParams::LATEXPAR; else { lyxerr << "Wrong argument for LyX function 'separator-insert'." << endl; break;