]> git.lyx.org Git - features.git/commitdiff
Add missing buffer update after pasting unformatted text.
authorRichard Heck <rgheck@lyx.org>
Wed, 29 Jun 2016 17:32:30 +0000 (13:32 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 29 Jun 2016 17:34:22 +0000 (13:34 -0400)
Fixes bug #8735.

(cherry picked from commit 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed)

src/CutAndPaste.cpp
status.22x

index 5f3e8090fb524aa7d030309fe32e0bea46019da3..256aebae02d12e1c172a40aa0cac70cc2e652972 100644 (file)
@@ -1169,6 +1169,7 @@ bool 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.forceBufferUpdate();
        return true;
 }
 
index 98bbc4364b3069221f8eedd97c00358e5833165e..423909109791594c5ef541997b9ab0141657c5ad 100644 (file)
@@ -148,6 +148,8 @@ What's new
 
 - Fix drawing of buttons by enforcing equal left/right spacing (bug 10147).
 
+- Fix problem with drawing of lists after pasting normal text (bug 8735).
+
 
 * INTERNALS