From: Abdelrazak Younes Date: Wed, 16 Jan 2008 17:26:40 +0000 (+0000) Subject: Fix delay when applying changed Preferences. The reason was that the "math-panels... X-Git-Tag: 1.6.10~6572 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c2f57f8cfed1a3774e931788955b18debfe1ea73;p=lyx.git 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 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index c07aa04ec0..67fd9c5b22 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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);