>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Jean-Marc Lasgouttes wrote:
>> 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.

Juergen> I wonder if bug 2023 is also related to this?
Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=2023

I do not think so. This one is probably a missing update in
ControlDocument::dispatchParams. The line
                kernel().bufferview()->update();
which is conditional, should probably be moved at the end of the code. 

BTW, why is there this big ugly unconditional branch code in there? Do
we need to reset all the branches stuff at each apply?

JMarc

Reply via email to