mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Cloned buffers routinely have their parents reset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33676 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
13746b6d82
commit
5a4e241df4
@ -278,7 +278,8 @@ public:
|
||||
}
|
||||
///
|
||||
void setParent(Buffer const * pb) {
|
||||
if (parent_buffer && pb && parent_buffer != pb)
|
||||
if (!cloned_buffer_
|
||||
&& parent_buffer && pb && parent_buffer != pb)
|
||||
LYXERR0("Warning: a buffer should not have two parents!");
|
||||
parent_buffer = pb;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user