From: Georg Baum Date: Sun, 12 Nov 2006 16:00:20 +0000 (+0000) Subject: forgot this in the previous change X-Git-Tag: 1.6.10~11905 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0049b4d3e46a36bd4d5ce07a54555cfba2295cfd;hp=c0725c5bebfdb1cab048aa4a81e99c721ceadfdc;p=lyx.git forgot this in the previous change git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15887 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/CutAndPaste.C b/src/CutAndPaste.C index e2c3afedb5..88fbbb6141 100644 --- a/src/CutAndPaste.C +++ b/src/CutAndPaste.C @@ -643,6 +643,7 @@ void pasteSelection(LCursor & cur, ErrorList & errorList, size_t sel_index) if (!checkPastePossible(sel_index)) return; + recordUndo(cur); pasteParagraphList(cur, theCuts[sel_index].first, theCuts[sel_index].second, errorList); cur.setSelection();