read lyxrc.dist a second time to be able to override viewer auto-detection

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15515 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2006-10-23 18:01:31 +00:00
parent f4857dab04
commit 6700802966

View File

@ -741,6 +741,9 @@ bool LyX::init()
// Query the OS to know what formats are viewed natively // Query the OS to know what formats are viewed natively
formats.setAutoOpen(); formats.setAutoOpen();
// Read lyxrc.dist again to be able to override viewer auto-detection.
readRcFile("lyxrc.dist");
system_lyxrc = lyxrc; system_lyxrc = lyxrc;
system_formats = formats; system_formats = formats;
system_converters = converters; system_converters = converters;