mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Fix bug #11552
Do not insert a brace inset when we know that LyX wrote the braces. This commit amends [503f7db2/lyxgit].
This commit is contained in:
parent
357a8bedbf
commit
f2029fb386
@ -946,7 +946,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
parse(ar, FLAG_BRACE_LAST, mode);
|
||||
// do not create a BraceInset if they were written by LyX
|
||||
// this helps to keep the annoyance of "a choose b" to a minimum
|
||||
if (ar.size() == 1 && ar[0]->extraBraces())
|
||||
if (ar.size() == 1 && (ar[0]->extraBraces() || ar[0]->asBraceInset()))
|
||||
cell->append(ar);
|
||||
else
|
||||
cell->push_back(MathAtom(new InsetMathBrace(ar)));
|
||||
|
Loading…
Reference in New Issue
Block a user