mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
We need to do the update here simply because of the inset deletion.
It must have been wrong before the updateBuffer() refactoring, too. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38676 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
154b06766c
commit
3526e67e24
@ -1655,8 +1655,9 @@ bool Text::dissolveInset(Cursor & cur)
|
||||
// restore position
|
||||
cur.pit() = min(cur.lastpit(), spit);
|
||||
cur.pos() = min(cur.lastpos(), spos);
|
||||
} else
|
||||
cur.forceBufferUpdate();
|
||||
}
|
||||
|
||||
cur.forceBufferUpdate();
|
||||
|
||||
// Ensure the current language is set correctly (bug 6292)
|
||||
cur.text()->setCursor(cur, cur.pit(), cur.pos());
|
||||
|
Loading…
Reference in New Issue
Block a user