From b4e2a65d506cb3b588f1bdffc8b3d74cfb7d8c65 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 2 May 2013 21:20:43 -0400 Subject: [PATCH] The update here needs doing no matter what. This fixes a bug introduced in db358a4315. --- src/CutAndPaste.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 50e2f8f7a8..f4f3238e34 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -1040,8 +1040,7 @@ void pasteParagraphList(Cursor & cur, ParagraphList const & parlist, PasteReturnValue prv = pasteSelectionHelper(cur, parlist, docclass, 0, errorList); - if (prv.needupdate) - cur.forceBufferUpdate(); + cur.forceBufferUpdate(); cur.clearSelection(); text->setCursor(cur, prv.par, prv.pos); } -- 2.39.2