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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15516 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2006-10-23 18:02:12 +00:00
parent ccfaaf947a
commit 331827a552

View File

@ -475,6 +475,9 @@ void 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;