]> git.lyx.org Git - features.git/commitdiff
The update here needs doing no matter what.
authorRichard Heck <rgheck@lyx.org>
Fri, 3 May 2013 01:20:43 +0000 (21:20 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 3 May 2013 01:21:24 +0000 (21:21 -0400)
This fixes a bug introduced in db358a4315.

src/CutAndPaste.cpp

index 50e2f8f7a8aaffe7bcae861999d2eb60995ad09d..f4f3238e34c0ad2b9ef2268440820bd39e421c45 100644 (file)
@@ -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);
        }