Jean-Marc Lasgouttes wrote:
http://bugzilla.lyx.org/show_bug.cgi?id=2423
This patch should finally fix bug 2423. What it does is add a new
signal focusChange to WorkArea and emit it from
QContentPane::focusIn/Out.
The action on focus change is to update the toolbars.
This seems to work well for me. Of course, the way icons get
enabled/disabled may seem arbitrary, but at least the annoying bug is
gone.
I guess this will need adaptations for the new world of 1.5, but the
idea is simple.
Yes this will be implemented entirely within the qt4 frontend. No
BufferView interaction at all and probably using a Qt signal instead of
a boost one.
Abdel.