From 28bf6a66ac7287bb27791a66407ef99d201f84e9 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 13 Oct 2010 12:43:13 +0000 Subject: [PATCH] Fix #6948. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35624 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 026e8acc03..db908944e2 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -2786,7 +2786,7 @@ void GuiDocument::paramsToDialog() } // Master/Child - if (!buffer().hasChildren()) { + if (!bufferview() || !buffer().hasChildren()) { masterChildModule->childrenTW->clear(); includeonlys_.clear(); docPS->showPanel(qt_("Child Documents"), false);