]> git.lyx.org Git - lyx.git/commitdiff
one less place where metrics have to be recomputed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 May 2024 09:50:18 +0000 (11:50 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 May 2024 09:50:18 +0000 (11:50 +0200)
src/BufferView.cpp

index deba1db919681308dc1776764eab2c3d2e6c889d..800801c2643ae159ebb64050fbe0630cecd8b6a0 100644 (file)
@@ -1017,7 +1017,7 @@ void BufferView::showCursor(DocIterator const & dit, ScrollType how,
        bool update)
 {
        if (scrollToCursor(dit, how) && update)
-               processUpdateFlags(Update::Force);
+               processUpdateFlags(Update::ForceDraw);
 }