]> git.lyx.org Git - features.git/blobdiff - src/CutAndPaste.cpp
Fix bug #3821 by allowing insertStringAs* to reset the cursor.
[features.git] / src / CutAndPaste.cpp
index 0d70c2fb47cee86f3e84483d7a07acb8570993da..b9e6bd41cec8c0b52252aea6c1365771dced434e 100644 (file)
@@ -1045,6 +1045,7 @@ void pasteClipboardText(Cursor & cur, ErrorList & errorList, bool asParagraphs)
                cur.text()->insertStringAsParagraphs(cur, text, cur.current_font);
        else
                cur.text()->insertStringAsLines(cur, text, cur.current_font);
+       cur.setSelection();
 }