From: Jean-Marc Lasgouttes Date: Wed, 22 Feb 2023 10:20:38 +0000 (+0100) Subject: Make sure that screen is updated when completing math X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0cbe0d7a3e91b97fdc5f622a9ca38b15490c0b88;p=features.git Make sure that screen is updated when completing math There was a missing update there. Fixes part of bug #12674. --- diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 0ef3e8f8f8..a780a95fb6 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -2144,6 +2144,7 @@ bool InsetMathNest::insertCompletion(Cursor & cur, docstring const & s, bool fin #endif lyx::dispatch(FuncRequest(LFUN_SELF_INSERT, " ")); } + cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor); return true; }