From 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed 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. --- src/CutAndPaste.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index ccde5878f9..35ade7fc62 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -1168,6 +1168,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; } -- 2.39.5