From eb7c892f8405a72d25801272cabf5ee5e50bace1 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 8 Dec 2007 16:22:05 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiDocument.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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(); } -- 2.39.2