diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 8f12370a6b..24b5aaf3c5 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -375,7 +375,7 @@ void putClipboard(ParagraphList const & paragraphs, else theClipboard().put(string(), plaintext); // Save that memory - buffer.paragraphs() = ParagraphList(); + buffer.paragraphs().clear(); }