potentially fix lyxrc.dist isssue with \gui_language

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25602 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-07-14 09:57:37 +00:00
parent 364743b5da
commit e8aa9311f4

View File

@ -704,6 +704,9 @@ bool LyX::init()
// Read lyxrc.dist again to be able to override viewer auto-detection.
readRcFile("lyxrc.dist");
// Set again the language defined by the distributor.
setRcGuiLanguage();
system_lyxrc = lyxrc;
system_formats = formats;
pimpl_->system_converters_ = pimpl_->converters_;