Make sure that screen is updated when completing math

There was a missing update there.

Fixes part of bug #12674.
This commit is contained in:
Jean-Marc Lasgouttes 2023-02-22 11:20:38 +01:00
parent 1e99920b35
commit 0cbe0d7a3e

View File

@ -2144,6 +2144,7 @@ bool InsetMathNest::insertCompletion(Cursor & cur, docstring const & s, bool fin
#endif #endif
lyx::dispatch(FuncRequest(LFUN_SELF_INSERT, " ")); lyx::dispatch(FuncRequest(LFUN_SELF_INSERT, " "));
} }
cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor);
return true; return true;
} }