The update here needs doing no matter what.

This fixes a bug introduced in db358a4315.
This commit is contained in:
Richard Heck 2013-05-02 21:20:43 -04:00
parent 81539ec435
commit b4e2a65d50

View File

@ -1040,7 +1040,6 @@ void pasteParagraphList(Cursor & cur, ParagraphList const & parlist,
PasteReturnValue prv = PasteReturnValue prv =
pasteSelectionHelper(cur, parlist, docclass, 0, errorList); pasteSelectionHelper(cur, parlist, docclass, 0, errorList);
if (prv.needupdate)
cur.forceBufferUpdate(); cur.forceBufferUpdate();
cur.clearSelection(); cur.clearSelection();
text->setCursor(cur, prv.par, prv.pos); text->setCursor(cur, prv.par, prv.pos);