]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
forgot this in the previous change
[lyx.git] / 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();