commit c395eda34741fb3c724f0b374f6657f881fef6e0 Author: Richard Kimberly Heck <rikih...@lyx.org> Date: Thu Apr 18 18:22:52 2024 -0400
Set Buffer for MathData when creating macro view --- src/mathed/InsetMathMacroTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/InsetMathMacroTemplate.cpp b/src/mathed/InsetMathMacroTemplate.cpp index 2a721833b0..9fe10491e2 100644 --- a/src/mathed/InsetMathMacroTemplate.cpp +++ b/src/mathed/InsetMathMacroTemplate.cpp @@ -506,7 +506,7 @@ void InsetMathMacroTemplate::createLook(int args) const // {#3}{#4} for (; i < numargs_; ++i) { - MathData arg; + MathData arg(buffer_); arg.push_back(MathAtom(new InsetMathMacroArgument(i + 1))); if (i >= argsInLook_) { look_.push_back(MathAtom(new InsetColoredCell(buffer_, -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs