On Sep 12, 2005, at 11:13 AM, Jean-Marc Lasgouttes wrote:
Here is a tentative patch for http://bugzilla.lyx.org/show_bug.cgi?id=1941 I am not sure it is the exact right thing to do, so I'd appreciate some testing. Bennett, in particular, could you try it out on OS X? The problem was that Dialog::apply() dispatches LFUN_INSET_APPLY, and the icons are disabled because the main window does not have the focus (this is the special code I added for LyX/Mac). My fix is to avoid updating toolbar/menubar for INTERNAL dispatches.
This works for me: I tested not only the insert table/URL cases but also cases with other dialogs (like File > Open) for which the LyX/ Mac special code was designed, and everything seems to work as it should.
Bennett