From: Abdelrazak Younes Date: Sat, 8 Dec 2007 16:22:05 +0000 (+0000) Subject: Fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410). X-Git-Tag: 1.6.10~7009 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=eb7c892f8405a72d25801272cabf5ee5e50bace1;p=lyx.git Fix bug 4410 (http://bugzilla.lyx.org/show_bug.cgi?id=4410). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22023 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 93d1f19efa..108ba779fa 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -13,6 +13,8 @@ #include "GuiDocument.h" +#include "GuiView.h" + #include "BranchList.h" #include "buffer_funcs.h" #include "Buffer.h" @@ -1293,6 +1295,13 @@ void GuiDocument::apply(BufferParams & params) // Embedded files // FIXME + + // GuiDocument is special because some change in there might affect other + // dialogs. It is then better to make sure that all dialogs are in sync + // with current document settings. + lyxview().updateBufferDependent(true); + lyxview().updateLayoutList(); + lyxview().updateToolbars(); }