[LyX/master] Make sure that screen is updated when completing math
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Feb 22 09:21:27 UTC 2023
commit 0cbe0d7a3e91b97fdc5f622a9ca38b15490c0b88
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Wed Feb 22 11:20:38 2023 +0100
Make sure that screen is updated when completing math
There was a missing update there.
Fixes part of bug #12674.
---
src/mathed/InsetMathNest.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index 0ef3e8f..a780a95 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;
}
More information about the lyx-cvs
mailing list