From 2417d9cb5d178b7968b147886cfbd262fb01f255 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 29 Jun 2016 13:32:30 -0400 Subject: [PATCH] Add missing buffer update after pasting unformatted text. Fixes bug #8735. (cherry picked from commit 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed) --- src/CutAndPaste.cpp | 1 + status.22x | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5