]> git.lyx.org Git - features.git/commitdiff
Fix #6948.
authorRichard Heck <rgheck@comcast.net>
Wed, 13 Oct 2010 12:43:13 +0000 (12:43 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 13 Oct 2010 12:43:13 +0000 (12:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35624 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiDocument.cpp

index 026e8acc034538cb0beb03eece2628f17615606b..db908944e23b53aa9cfe41d1fc83f52037f4068f 100644 (file)
@@ -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);