]> git.lyx.org Git - lyx.git/commitdiff
forgot this in the previous change
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 12 Nov 2006 16:00:20 +0000 (16:00 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 12 Nov 2006 16:00:20 +0000 (16:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15887 a592a061-630c-0410-9148-cb99ea01b6c8

src/CutAndPaste.C

index e2c3afedb56403d3bf8ea62f783ecc67f4d6fc78..88fbbb6141900187a35658d9131614bb2bbb425f 100644 (file)
@@ -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();