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

@ -322,7 +322,7 @@ int LyX::exec(int & argc, char * argv[])
prepareExit();
return exit_status;
}
// FIXME
/* Create a CoreApplication class that will provide the main event loop
* and the socket callback registering. With Qt4, only QtCore
@ -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_;