Fix crash after reconfigure.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1454 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-02-07 15:26:33 +00:00
parent 7da86a418e
commit 9e41aa715e
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
* lyxrc.C (read): Update converters data-structures.
2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org> 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
* LaTeX.h (operator!=): add operator != for Aux_Info * LaTeX.h (operator!=): add operator != for Aux_Info

View File

@ -413,10 +413,6 @@ void LyX::init(int */*argc*/, char **argv, bool gui)
if (!ReadRcFile("preferences")) if (!ReadRcFile("preferences"))
ReadRcFile("lyxrc"); ReadRcFile("lyxrc");
/// Init Converter
converters.Update(formats);
converters.BuildGraph();
// Read encodings // Read encodings
ReadEncodingsFile("encodings"); ReadEncodingsFile("encodings");
// Read languages // Read languages

View File

@ -916,6 +916,10 @@ int LyXRC::read(string const & filename)
} }
} }
/// Update converters data-structures
converters.Update(formats);
converters.BuildGraph();
return 0; return 0;
} }