mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Set Buffer for MathData when creating macro view
This commit is contained in:
parent
7c140f743d
commit
c395eda347
@ -506,7 +506,7 @@ void InsetMathMacroTemplate::createLook(int args) const
|
|||||||
|
|
||||||
// {#3}{#4}
|
// {#3}{#4}
|
||||||
for (; i < numargs_; ++i) {
|
for (; i < numargs_; ++i) {
|
||||||
MathData arg;
|
MathData arg(buffer_);
|
||||||
arg.push_back(MathAtom(new InsetMathMacroArgument(i + 1)));
|
arg.push_back(MathAtom(new InsetMathMacroArgument(i + 1)));
|
||||||
if (i >= argsInLook_) {
|
if (i >= argsInLook_) {
|
||||||
look_.push_back(MathAtom(new InsetColoredCell(buffer_,
|
look_.push_back(MathAtom(new InsetColoredCell(buffer_,
|
||||||
|
Loading…
Reference in New Issue
Block a user