> Modified: lyx-devel/trunk/src/frontends/qt4/GuiView.cpp
>
========================================================================
======
> --- lyx-devel/trunk/src/frontends/qt4/GuiView.cpp Fri Apr 16
12:51:20 2010 (r34160)
> +++ lyx-devel/trunk/src/frontends/qt4/GuiView.cpp Fri Apr 16
14:15:27 2010 (r34161)
> @@ -1401,7 +1401,7 @@
> GuiToc * toc = static_cast<GuiToc*>(findOrBuild("toc",
false));
> FuncStatus fs;
> if (toc->getStatus(documentBufferView()->cursor(), cmd,
fs))
> - flag |= fs;
> + flag = fs;
> else
> flag.setEnabled(false);
> return true;
>but this code is not equivalent. you will destroy messages
>prepared somewhere else, no?
>pavel
I don't think it is possible that there are already messages prepared
somewhere else.
Maybe I can better pass flag itself (and make sure that toc cannot be
0).
Vincent