mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix crash after b0937fb9
.
Now the cursor is not left inside color inset, so it is not needed to pop_back. Fix bug #12035.
This commit is contained in:
parent
12285354e0
commit
005f69de23
@ -499,11 +499,6 @@ void InsetMathNest::handleNest(Cursor & cur, MathAtom const & nest,
|
||||
//
|
||||
cur.handleNest(nest);
|
||||
cur.insert(arg);
|
||||
|
||||
// cur is in the font inset now. If the loop continues,
|
||||
// we need to get outside again for the next cell
|
||||
if (col + 1 <= c2 || row + 1 <= r2)
|
||||
cur.pop_back();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user