From 331827a552234e2f1bad3eda5fee6696e6aa6bad Mon Sep 17 00:00:00 2001 From: Joost Verburg Date: Mon, 23 Oct 2006 18:02:12 +0000 Subject: [PATCH] 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 --- src/lyx_main.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lyx_main.C b/src/lyx_main.C index be57b4eb6f..2e3a2b0f53 100644 --- a/src/lyx_main.C +++ b/src/lyx_main.C @@ -475,6 +475,9 @@ void LyX::init() // Query the OS to know what formats are viewed natively formats.setAutoOpen(); + // Read lyxrc.dist again to be able to override viewer auto-detection. + readRcFile("lyxrc.dist"); + system_lyxrc = lyxrc; system_formats = formats; system_converters = converters;