Fix delay when applying changed Preferences. The reason was that the "math-panels" initialisation takes too long (hence the FIXME).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22602 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-01-16 17:26:40 +00:00
parent 47f929d48d
commit c2f57f8cfe

View File

@ -1604,7 +1604,9 @@ void GuiView::resetDialogs()
{
// Make sure that no LFUN uses any LyXView.
theLyXFunc().setLyXView(0);
d.toolbars_->init();
// FIXME: the "math panels" toolbar takes an awful lot of time to
// initialise so we don't do that for the time being.
//d.toolbars_->init();
guiApp->menus().fillMenuBar(this);
if (d.layout_)
d.layout_->updateContents(true);