mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix display of predefined macros (bug #9059)
This was a regression of e86cdc40
: A newly introduced member variable was
not initialized in the constructor, which made it quite random whether symbols
like \coloneqq where displayed correctly or as an empty edit box.
This commit is contained in:
parent
fa20e8e2d4
commit
e85e9424b3
@ -126,7 +126,8 @@ private:
|
|||||||
MathMacro::MathMacro(Buffer * buf, docstring const & name)
|
MathMacro::MathMacro(Buffer * buf, docstring const & name)
|
||||||
: InsetMathNest(buf, 0), name_(name), displayMode_(DISPLAY_INIT),
|
: InsetMathNest(buf, 0), name_(name), displayMode_(DISPLAY_INIT),
|
||||||
expanded_(buf), attachedArgsNum_(0), optionals_(0), nextFoldMode_(true),
|
expanded_(buf), attachedArgsNum_(0), optionals_(0), nextFoldMode_(true),
|
||||||
macroBackup_(buf), macro_(0), needsUpdate_(false), appetite_(9)
|
macroBackup_(buf), macro_(0), needsUpdate_(false),
|
||||||
|
isUpdating_(false), appetite_(9)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user