commit ab8ea2543dc23593081fc4e9db01828e245a4e9e
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Wed Feb 22 12:00:14 2023 +0100

    Revert "Fixup 0cbe0d7a: avoid double redraw when completion is finished"
    
    This is my 635th lesson that trying to be too clever is not that good.
    This change interferes with the yet-to-come fix to #12674.
    
    This reverts commit cc6dae1363a818e975b2b8b5d9d1409068a04b39.
---
 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 9fe6bf0..a780a95 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, " "));
-       } else
-               cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor);
+       }
+       cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor);
 
        return true;
 }
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to