From: Georg Baum Date: Thu, 9 Dec 2010 22:35:44 +0000 (+0000) Subject: improve fix for #6303 as suggested by Richard X-Git-Tag: 2.0.0~1440 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f2cc066c49da7208c9d996568ba344a2ac070791;p=features.git improve fix for #6303 as suggested by Richard git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36799 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index c75446f884..5dbdde30a7 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2508,11 +2508,9 @@ bool GuiView::closeBuffer(Buffer & buf) return true; } } - // open all children again to avoid a crash (bug 6603) - // FIXME updateMacros() does more than needed - buf.updateMacros(); - // get rid of dangling inset pointers in TOC (bug 6603) - buf.tocBackend().update(); + // open all children again to avoid a crash because of dangling + // pointers (bug 6603) + buf.updateBuffer(); return false; }