mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
* src/Text3.cpp (doInsertInset):
- update metrics before pasting selected content (fix bug 4502). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22892 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
35edf68dbc
commit
e99adb41bc
@ -268,6 +268,8 @@ bool doInsertInset(Cursor & cur, Text * text,
|
||||
inset->edit(cur, true);
|
||||
|
||||
if (gotsel && pastesel) {
|
||||
// metrics might be invalid at this point (bug 4502)
|
||||
cur.bv().updateMetrics();
|
||||
lyx::dispatch(FuncRequest(LFUN_PASTE, "0"));
|
||||
// reset first par to default
|
||||
if (cur.lastpit() != 0 || cur.lastpos() != 0) {
|
||||
|
@ -134,6 +134,9 @@ What's new
|
||||
- Fix a crash after converting a formula to eqnarray while a selection
|
||||
was active (bug 4452).
|
||||
|
||||
- Fix an assertion when inserting a box in a list while at least one
|
||||
paragraph of that list was selected (bug 5402).
|
||||
|
||||
- Do not exit after catching an iconv exception (bug 4385, part 2).
|
||||
|
||||
- Fix update/drawing of character style insets.
|
||||
|
Loading…
Reference in New Issue
Block a user