On Sun, Jan 20, 2008 at 03:33:19AM +0100, Pavel Sanda wrote:
> > Author: sanda
> > Date: Sun Jan 20 00:36:03 2008
> > New Revision: 22633
> > 
> > URL: http://www.lyx.org/trac/changeset/22633
> > Log:
> > Environment toolbar is not updated after selection by mouse.
> > 
> > Modified: lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp
> > URL: 
> > http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp?rev=22633
> > ==============================================================================
> > --- lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp (original)
> > +++ lyx-devel/trunk/src/frontends/qt4/GuiToolbar.cpp Sun Jan 20 00:36:03 
> > 2008
> > @@ -348,6 +348,7 @@
> >                                            FuncRequest::TOOLBAR);
> >                     theLyXFunc().setLyXView(&owner_);
> >                     lyx::dispatch(func);
> > +                   updateContents(false);
> >                     return;
> >             }
> >     }
> 
> 
> btw i wonder whats the purpose of updateContents(false); in the begining of 
> the GuiLayoutBox::selected:

Did I mention recently that I find the boolean arguments to 'high level
functions' rather hard to read?

Andre'

Reply via email to