From: Richard Heck Date: Wed, 13 Oct 2010 12:43:13 +0000 (+0000) Subject: Fix #6948. X-Git-Tag: 2.0.0~2407 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=28bf6a66ac7287bb27791a66407ef99d201f84e9;p=features.git Fix #6948. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35624 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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);