commit cc6dae1363a818e975b2b8b5d9d1409068a04b39
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Wed Feb 22 11:32:11 2023 +0100

    Fixup 0cbe0d7a: avoid double redraw when completion is finished
---
 src/mathed/InsetMathNest.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index a780a95..9fe6bf0 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;
 }
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to