Add missing buffer update after pasting unformatted text.

Fixes bug #8735.

(cherry picked from commit 6ecb05e6ea)
This commit is contained in:
Richard Heck 2016-06-29 13:32:30 -04:00
parent a097e0cf82
commit 2417d9cb5d
2 changed files with 3 additions and 0 deletions

View 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;
}

View 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