Bennett Helm wrote:
I've played around with it some more, and the *only* time I can get this to happen is when I make a change to the preferences. (Merely opening the preferences window, changing options, and canceling does not have this effect.) Also, it seems to take a long time to save the preferences -- about 2.5 seconds -- before control is returned to the main window. (Canceling the preferences window is pretty much instantaneous.) Finally, every time preferences are saved, a new instance of "Reconfigure" is added to the LyX menu. (I went up to 6 before I got bored.)

Could you please try this patch?

Abdel.
Index: frontends/qt4/Menus.cpp
===================================================================
--- frontends/qt4/Menus.cpp     (revision 22596)
+++ frontends/qt4/Menus.cpp     (working copy)
@@ -121,6 +121,12 @@
 
 void Menus::macxMenuBarInit(GuiView * view)
 {
+       static bool done = false;
+       if (done)
+               return;
+
+       done = true;
+
        /* Since Qt 4.2, the qt/mac menu code has special code for
           specifying the role of a menu entry. However, it does not
           work very well with our scheme of creating menus on demand,

Reply via email to