mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix language problem in new textinsets in non-english docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9812 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a1ba34bef9
commit
9425b06225
@ -1,3 +1,8 @@
|
||||
2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* text3.C (dispatch): fix language problem in newly created
|
||||
textinsets (and main text) in non-english docs
|
||||
|
||||
2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
|
||||
|
@ -1111,6 +1111,9 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
|
||||
|
||||
cur.clearSelection();
|
||||
LyXFont const old_font = real_current_font;
|
||||
|
||||
// Prevents language turds in new lyxtexts under non-english
|
||||
setCurrentFont(cur);
|
||||
|
||||
string::const_iterator cit = cmd.argument.begin();
|
||||
string::const_iterator end = cmd.argument.end();
|
||||
|
Loading…
Reference in New Issue
Block a user