commit 2417d9cb5d178b7968b147886cfbd262fb01f255
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.
(cherry picked from commit 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed)
---
src/CutAndPaste.cpp | 1 +
status.22x | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp
index 5f3e809..256aeba 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 98bbc43..4239091 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