mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Fix bug #6292: Ensure the current language is set correctly after dissolving an Inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31790 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
424e3da04c
commit
d0859f23d0
@ -1616,6 +1616,9 @@ bool Text::dissolveInset(Cursor & cur)
|
||||
// this is the least that needs to be done (bug 6003)
|
||||
// in the above case, pasteParagraphList handles this
|
||||
cur.buffer()->updateLabels();
|
||||
|
||||
// Ensure the current language is set correctly (bug 6292)
|
||||
cur.text()->setCursor(cur, cur.pit(), cur.pos());
|
||||
cur.clearSelection();
|
||||
cur.resetAnchor();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user