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(); }