mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Add missing buffer update after pasting unformatted text.
Fixes bug #8735.
(cherry picked from commit 6ecb05e6ea
)
This commit is contained in:
parent
a097e0cf82
commit
2417d9cb5d
@ -1169,6 +1169,7 @@ bool pasteClipboardText(Cursor & cur, ErrorList & errorList, bool asParagraphs,
|
|||||||
cur.text()->insertStringAsParagraphs(cur, text, cur.current_font);
|
cur.text()->insertStringAsParagraphs(cur, text, cur.current_font);
|
||||||
else
|
else
|
||||||
cur.text()->insertStringAsLines(cur, text, cur.current_font);
|
cur.text()->insertStringAsLines(cur, text, cur.current_font);
|
||||||
|
cur.forceBufferUpdate();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,6 +148,8 @@ What's new
|
|||||||
|
|
||||||
- Fix drawing of buttons by enforcing equal left/right spacing (bug 10147).
|
- 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
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user