]> git.lyx.org Git - features.git/commit
Avoid crash with cursor down in math
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 20 Sep 2018 20:15:12 +0000 (22:15 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 21 Sep 2018 16:43:53 +0000 (18:43 +0200)
commitebd4e25588f61c7f566be6d7800b9e6c4bbcdeb1
treebb3eb2316424299bd961cbf48a8aa16fff031e71
parentbf3b81e46a8d82091948b519333daa55d1a31897
Avoid crash with cursor down in math

This can happen when the inset that contains the cursor is outside of
the screen.

THis is only a workaround. The real solution would be a
processUpdateFlags(FitCursor) call, but the code is not ready for that
yet.

Fixes bug #11296.

(cherry picked from commit 17576fb83b5a560fb8a1c59ca7051dcb2b165c05)
src/mathed/InsetMathGrid.cpp
status.23x