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:
Georg Baum 2014-03-28 23:16:36 +01:00
parent fa20e8e2d4
commit e85e9424b3

View File

@ -126,7 +126,8 @@ private:
MathMacro::MathMacro(Buffer * buf, docstring const & name)
: InsetMathNest(buf, 0), name_(name), displayMode_(DISPLAY_INIT),
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)
{}