git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21899 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-12-01 12:17:00 +00:00
parent 1afafb9d5b
commit 3068cb9917

View File

@ -264,6 +264,9 @@ Buffer::~Buffer()
// here the buffer should take care that it is
// saved properly, before it goes into the void.
// GuiView already destroyed
gui_ = 0;
Buffer const * master = masterBuffer();
if (master != this && use_gui)
// We are closing buf which was a child document so we