diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index a780a95fb6..9fe6bf0090 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -2143,8 +2143,8 @@ bool InsetMathNest::insertCompletion(Cursor & cur, docstring const & s, bool fin MathCompletionList::addToFavorites(inset->name()); #endif lyx::dispatch(FuncRequest(LFUN_SELF_INSERT, " ")); - } - cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor); + } else + cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor); return true; }