]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
Fix functions that used functions but did not defined it
[lyx.git] / src / CutAndPaste.cpp
index 276285dfbc2dbcf3db0d10f59e991ffe23a2eb4e..abed1567d7fa289520784322cba948e8f0367b88 100644 (file)
@@ -989,6 +989,8 @@ void cutSelectionHelper(Cursor & cur, CutStack & cuts, bool realcut, bool putcli
 
                if (begpit != endpit)
                        cur.screenUpdateFlags(Update::Force | Update::FitCursor);
+               else
+                       cur.screenUpdateFlags(Update::SinglePar | Update::FitCursor);
 
                tie(endpit, endpos) =
                        eraseSelectionHelper(bp, text->paragraphs(), begpit, endpit,