#include "GuiDocument.h"
+#include "GuiView.h"
+
#include "BranchList.h"
#include "buffer_funcs.h"
#include "Buffer.h"
#include "insets/InsetListingsParams.h"
+#include "support/FileName.h"
+#include "support/filetools.h"
#include "support/lstrings.h"
#include <boost/bind.hpp>
// 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();
}