mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
#7681 adjust the cursor language after document language change had changed the text language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7c17e970b1
commit
3a33672980
@ -1905,6 +1905,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
if (oldL->rightToLeft() == newL->rightToLeft() && !buffer_.isMultiLingual()) {
|
||||
cur.recordUndoFullDocument();
|
||||
buffer_.changeLanguage(oldL, newL);
|
||||
cur.setCurrentFont();
|
||||
dr.forceBufferUpdate();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user