From 0049b4d3e46a36bd4d5ce07a54555cfba2295cfd Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 12 Nov 2006 16:00:20 +0000 Subject: [PATCH] forgot this in the previous change git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15887 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/CutAndPaste.C | 1 + 1 file changed, 1 insertion(+) 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();