Revert "Update previews after pasting (#6211)"

As JMarc notes on the ML, the referenced commit modifies a full
buffer just in the middle of a dispatch action.

Further, this commit lead to an assertion [1], although it is not
clear to me whether the root cause of the assertion is the commit
that is being reverted here, or one of the issues we have with
previews and macros.

This reverts commit 73460423ad.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187921.html
This commit is contained in:
Scott Kostyshak 2015-06-07 11:57:08 -04:00
parent cda4589f5e
commit 580947bfe0

View File

@ -1356,7 +1356,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
bv->buffer().errors("Paste");
cur.clearSelection(); // bug 393
cur.finishUndo();
bv->buffer().updatePreviews();
break;
}