mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix bug #6967: Insert->Display Math should not insert a numbered formula and vice versa.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35799 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6749b1fa0a
commit
70ed1095ec
@ -141,7 +141,7 @@ docstring hullName(HullType type)
|
||||
static InsetLabel * dummy_pointer = 0;
|
||||
|
||||
InsetMathHull::InsetMathHull(Buffer * buf)
|
||||
: InsetMathGrid(buf, 1, 1), type_(hullNone), nonum_(1, false),
|
||||
: InsetMathGrid(buf, 1, 1), type_(hullNone), nonum_(1, true),
|
||||
label_(1, dummy_pointer), preview_(new RenderPreview(this))
|
||||
{
|
||||
//lyxerr << "sizeof InsetMath: " << sizeof(InsetMath) << endl;
|
||||
@ -155,7 +155,7 @@ InsetMathHull::InsetMathHull(Buffer * buf)
|
||||
|
||||
|
||||
InsetMathHull::InsetMathHull(Buffer * buf, HullType type)
|
||||
: InsetMathGrid(buf, getCols(type), 1), type_(type), nonum_(1, false),
|
||||
: InsetMathGrid(buf, getCols(type), 1), type_(type), nonum_(1, true),
|
||||
label_(1, dummy_pointer), preview_(new RenderPreview(this))
|
||||
{
|
||||
buffer_ = buf;
|
||||
|
Loading…
Reference in New Issue
Block a user