mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
more complete fix for bug 4318 and variants (see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg130765.html)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21445 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af9361d81b
commit
53cd7838e4
@ -1020,12 +1020,14 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
else if (t.cs() == "\\") {
|
||||
if (flags & FLAG_ALIGN)
|
||||
return;
|
||||
bool added;
|
||||
bool added = false;
|
||||
if (nextToken().asInput() == "*") {
|
||||
getToken();
|
||||
added = addRow(grid, cellrow, docstring(), false);
|
||||
} else
|
||||
} else if (good())
|
||||
added = addRow(grid, cellrow, getArg('[', ']'));
|
||||
else
|
||||
added = addRow(grid, cellrow, docstring());
|
||||
if (added) {
|
||||
cellcol = 0;
|
||||
if (grid.asHullInset())
|
||||
|
Loading…
Reference in New Issue
Block a user