]> git.lyx.org Git - features.git/commit
Backport fix for #7593 to branch.
authorRichard Heck <rgheck@comcast.net>
Mon, 5 Sep 2011 19:25:15 +0000 (19:25 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 5 Sep 2011 19:25:15 +0000 (19:25 +0000)
commit9fb818dd0c2f9447488235a9c867b23393a37d0f
treec08ac0a8befacd14352696fff4cad22303b25b5f
parent8c529c99c28ba5d559b1359f4cb2b7972b12c8f0
Backport fix for #7593 to branch.

=====

Original log:

Fix problem first reported by Diego: If you try to view a child document,
the macros declared in the parent do not work. This is because we were
cloning only the child, which then didn't have a parent.

The solution is to clone the whole structure, starting with the master
document. As a side effect, we only clone each child once.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39599 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp
src/Buffer.h
src/frontends/qt4/GuiView.cpp
status.20x