From: Abdelrazak Younes Date: Fri, 20 Jun 2008 11:57:43 +0000 (+0000) Subject: Fix http://bugzilla.lyx.org/show_bug.cgi?id=4954 X-Git-Tag: 1.6.10~4319 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c3c49d8a0b59c1705683c6482ccb59ea982accb7;p=lyx.git Fix http://bugzilla.lyx.org/show_bug.cgi?id=4954 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25335 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index ac634a6d2d..9a89cf5b59 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -621,6 +621,9 @@ void cutSelection(Cursor & cur, bool doclear, bool realcut) cur.selectionAsString(true)); } + if (begpit != endpit) + cur.updateFlags(Update::Force | Update::FitCursor); + boost::tie(endpit, endpos) = eraseSelectionHelper(bp, text->paragraphs(),