]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetArgument.cpp
Support for command argument placement after the workarea argument
[lyx.git] / src / insets / InsetArgument.cpp
index ca76d08a029a7eeb1636c57f71d5c418fc72eab1..c5d5138da2ac9d727e36bbf8300b8be81e9382bb 100644 (file)
@@ -61,7 +61,7 @@ void InsetArgument::updateBuffer(ParIterator const & it, UpdateType utype)
        pass_thru_ = it.paragraph().layout().pass_thru;
        bool const insetlayout = &it.inset() && args.empty();
        if (insetlayout) {
-               args = it.inset().getLayout().latexargs();
+               args = it.inset().getLayout().args();
                pass_thru_ = it.inset().getLayout().isPassThru();
        }