mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
364743b5da
commit
e8aa9311f4
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user