From 005f69de2307712d20e42d2f84fb7aa1d78d38fb Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 17 Dec 2020 20:32:06 +0100 Subject: [PATCH] Fix crash after b0937fb9. Now the cursor is not left inside color inset, so it is not needed to pop_back. Fix bug #12035. --- src/mathed/InsetMathNest.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 44f4a26805..3dd55e44d1 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -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(); } } } -- 2.39.2