From 9e41aa715ef244423e5c609d55f71df13e0156e2 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Wed, 7 Feb 2001 15:26:33 +0000 Subject: [PATCH] Fix crash after reconfigure. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1454 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/lyx_main.C | 4 ---- src/lyxrc.C | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 77c54c68f0..48caa0ff21 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-02-07 Dekel Tsur + + * lyxrc.C (read): Update converters data-structures. + 2001-02-07 Lars Gullik Bjønnes * LaTeX.h (operator!=): add operator != for Aux_Info diff --git a/src/lyx_main.C b/src/lyx_main.C index 8d4b865dcf..b39866318f 100644 --- a/src/lyx_main.C +++ b/src/lyx_main.C @@ -413,10 +413,6 @@ void LyX::init(int */*argc*/, char **argv, bool gui) if (!ReadRcFile("preferences")) ReadRcFile("lyxrc"); - /// Init Converter - converters.Update(formats); - converters.BuildGraph(); - // Read encodings ReadEncodingsFile("encodings"); // Read languages diff --git a/src/lyxrc.C b/src/lyxrc.C index bc105fa0ea..368ded416f 100644 --- a/src/lyxrc.C +++ b/src/lyxrc.C @@ -916,6 +916,10 @@ int LyXRC::read(string const & filename) } } + /// Update converters data-structures + converters.Update(formats); + converters.BuildGraph(); + return 0; }