From: Richard Heck Date: Wed, 29 Jun 2016 17:32:30 +0000 (-0400) Subject: Add missing buffer update after pasting unformatted text. X-Git-Tag: 2.2.1~83 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2417d9cb5d178b7968b147886cfbd262fb01f255;p=features.git Add missing buffer update after pasting unformatted text. Fixes bug #8735. (cherry picked from commit 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed) --- diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 5f3e8090fb..256aebae02 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -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; } diff --git a/status.22x b/status.22x index 98bbc4364b..4239091097 100644 --- a/status.22x +++ b/status.22x @@ -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