From c2f57f8cfed1a3774e931788955b18debfe1ea73 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 16 Jan 2008 17:26:40 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.2