mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
"wrong numbering of multline environment inside LyX" git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23665 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
68cd81bcc1
commit
ed4919cd1a
@ -687,7 +687,16 @@ void InsetMathHull::addRow(row_type row)
|
||||
{
|
||||
if (!rowChangeOK())
|
||||
return;
|
||||
nonum_.insert(nonum_.begin() + row + 1, !numberedType());
|
||||
|
||||
bool numbered = numberedType();
|
||||
if (type_ == hullMultline) {
|
||||
if (row + 1 == nrows())
|
||||
nonum_[row] = true;
|
||||
else
|
||||
numbered = false;
|
||||
}
|
||||
|
||||
nonum_.insert(nonum_.begin() + row + 1, !numbered);
|
||||
label_.insert(label_.begin() + row + 1, dummy_pointer);
|
||||
InsetMathGrid::addRow(row);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user