mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Add a setBuffer method to InsetArgumentProxy
This is needed to set the buffer of default values of optional arguments. Fixes bug #11695.
This commit is contained in:
parent
400706ad05
commit
49ed5b4626
@ -64,6 +64,12 @@ public:
|
|||||||
asArray(def, def_);
|
asArray(def, def_);
|
||||||
}
|
}
|
||||||
///
|
///
|
||||||
|
void setBuffer(Buffer & buffer)
|
||||||
|
{
|
||||||
|
Inset::setBuffer(buffer);
|
||||||
|
def_.setBuffer(buffer);
|
||||||
|
}
|
||||||
|
///
|
||||||
void setOwner(InsetMathMacro * mathMacro) { mathMacro_ = mathMacro; }
|
void setOwner(InsetMathMacro * mathMacro) { mathMacro_ = mathMacro; }
|
||||||
///
|
///
|
||||||
InsetMathMacro const * owner() { return mathMacro_; }
|
InsetMathMacro const * owner() { return mathMacro_; }
|
||||||
|
Loading…
Reference in New Issue
Block a user