commit 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed
Author: Richard Heck <[email protected]>
Date:   Wed Jun 29 13:32:30 2016 -0400

    Add missing buffer update after pasting unformatted text.
    
    Fixes bug #8735.
---
 src/CutAndPaste.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp
index ccde587..35ade7f 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;
 }
 

Reply via email to