Jürgen Spitzmüller wrote:
> Vincent van Ravesteijn - TNW wrote:
> > New Revision: 32560
> > URL: <http://www.lyx.org/trac/changeset/32560>
> > http://www.lyx.org/trac/changeset/32560
> > <http://www.lyx.org/trac/changeset/32560Log: Correctly>
> > Log: Correctly paint the background of the instant preview of a
> > displayed equation.
> 
> pending ...

OK as well.

> > New Revision: 32738
> > URL: <http://www.lyx.org/trac/changeset/32738>
> > http://www.lyx.org/trac/changeset/32738
> > <http://www.lyx.org/trac/changeset/32738Log:When>
> > Log: When reloading a child document, reset the parent of the child to
> > the parent of the child and not to the master.
> 
> pending ...

I'm not sure this change is correct. For instance:

@@ -2413,8 +2413,8 @@
 void GuiView::reloadBuffer(Buffer * buf)
 {
        FileName filename = buf->fileName();
-       Buffer const * master = buf->masterBuffer();
-       bool const is_child = master != buf;
+       Buffer const * parent = buf->parent();
+       bool const is_child = parent != buf;

AFAIU, parent is never == buf. Parent is either the parent buffer (which 
includes buf) or it is 0. The master, as opposed to that, is either the parent 
buffer or (if there is no parent) buf.

What is the intention of this change?

Jürgen

Reply via email to