mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
branch: Fix bug #7106: iterator out of range while copying multi-row math.
see r37108. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37112 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d4865722e
commit
653e054c06
@ -65,9 +65,9 @@ static int extractInt(istream & is)
|
||||
static void resetGrid(InsetMathGrid & grid)
|
||||
{
|
||||
while (grid.ncols() > 1)
|
||||
grid.delCol(grid.ncols());
|
||||
grid.delCol(grid.ncols() - 1);
|
||||
while (grid.nrows() > 1)
|
||||
grid.delRow(grid.nrows());
|
||||
grid.delRow(grid.nrows() - 1);
|
||||
grid.cell(0).erase(0, grid.cell(0).size());
|
||||
grid.setDefaults();
|
||||
}
|
||||
|
@ -88,6 +88,8 @@ What's new
|
||||
- Fix crash when inserting quotes with a selection spanning multiple
|
||||
paragraphs (bug 7200).
|
||||
|
||||
- Fix assertion when pasting a column in a math matrix (bug 7106).
|
||||
|
||||
- Remove traces of long removed index settings dialog. This fixes a crash
|
||||
when issueing the non-functional lfuns "dialog-show index" and
|
||||
"dialog-show-new-inset index" (bug 7180).
|
||||
|
Loading…
Reference in New Issue
Block a user