]> git.lyx.org Git - features.git/commitdiff
Fix delay when applying changed Preferences. The reason was that the "math-panels...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 16 Jan 2008 17:26:40 +0000 (17:26 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 16 Jan 2008 17:26:40 +0000 (17:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22602 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index c07aa04ec0aedc20424c0bd294ad51f41dbb3bdd..67fd9c5b22d3aa3675ba448c262e8608723b45ff 100644 (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);