commit 6a2a9086ad6519528285c311e8448a67c93a9429 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Sun Apr 7 06:24:37 2024 +0200
Comment on 9198ed596580 --- src/CutAndPaste.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 226b48e250..276285dfbc 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -475,6 +475,8 @@ pasteSelectionHelper(DocIterator const & cur, ParagraphList const & parlist, } insertion.swap(in.paragraphs()); + // We need to do this here, after the inset handling above, + // as acceptChanges() and rejectChanges() might access inset buffers. tmpbuf = insertion.begin(); for (; tmpbuf != insertion.end(); ++tmpbuf) { if (lyxrc.ct_markup_copied) { -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs